Abby, a 13-year-old dog who was missing for two months, has been rescued after cavers pulled her out of a complex cave system.

Rick Haley and Gerry Keene – both of whom have specialized cave rescue training – led the operation inside Missouri’s second-largest cave, Berome Moore, Haley told USA TODAY on Sunday. They used a duffle bag and blankets to protect the dog as they maneuvered their way out.

Abby was moved 500 feet through a “very tight, awkward, vertical climb, handing her hand to hand upward to the surface,” Haley wrote on Facebook. 

On Saturday, Haley said he returned to the cave and found Abby’s footprints near the entrance she likely came in from – a 12-foot-deep pit. Abby was 200 feet inside the main passage. 

Recreational caver Rick Haley poses with Abby, a 13-year-old dog that he and fellow caver Gerry Keene rescued from a cave north of Perryville, Missouri. "One week out..she’s making a comeback," Haley wrote on his Facebook page accompanying the photo. Haley and a team of around 30 were mapping the cave as part of a project for the Cave Research Foundation when Haley was asked to help stage a rescue operation for the dog.

Haley said the owner reported Abby had been missing since June 9, meaning she could have been in the cave for up to two months.

Haley, who has been caving since about 1990, and Keene were there with a team of about 30 to map a cave north of Perrysville, Missouri, as part of a project for the Cave Research Foundation when the mission came up. 

Although Abby was “in poor shape” and malnourished, Haley said, the dog had no apparent injuries.

Berome Moore cave is about  21 miles long, according to Missouri Caves and Karst Conservancy.

Camille Fine is a trending visual producer on USA TODAY’s NOW team. 

Gerry Keene rescues a dog that went missing in a cave north of Perryville, Missouri, Aug. 6, 2022.