A Navy sailor aboard the USS Shiloh whom Navy officials presumed to be dead was found alive on the guided-missile cruiser.

Gas Turbine Systems Technician (Mechanical) 3rd Class Peter Mims had been missing since June 8 when officials believed he fell overboard, but was found Thursday after hiding in one of the engine rooms, sources told Navy Times.

According to the U.S. 7th Fleet, Mims' disappearance prompted a search lasting more than 50 hours and covering 5,500 square miles of the Philippine Sea.

Navy aircraft and destroyers, Japan Maritime Self-Defense Force and Japan Coast Guard assets participated in the search, which was suspended June 11. The Shiloh's crew continued to look for Mims aboard the vessel.

"We are thankful to have found our missing shipmate and appreciate all the hard work of our sailors and Japanese partners in searching for him," Rear Adm. Charles Williams, commander of the Carrier Strike Group 5 and Task Force 70, said in a statement.

"I am relieved that this sailor's family will not be joining the ranks of Gold Star families that have sacrificed so much for our country."

Mims enlisted in the Navy in February 2014, and the circumstances surrounding his disappearance are under investigation.