“When the companies arrived on scene they found that the dog had fallen through a loose manhole cover 15 feet down into a horizontal pipe,” said a Facebook post shared by the Sacramento Fire Department on Monday. “Additional resources were requested to perform a confined space rescue. Hazmat crews arrived on scene with air monitors, and determined that it was safe to enter as rescue crews set up a tripod and rigging. Then one rescuer was lowered down to Frank the dog.”

They used a special harness which helped haul the dog and rescuer to the surface, the Facebook post explained.

“Other than a few scrapes and bruises, Frank was doing fine and was happy to see his owner!” the post said.

CBS 13 reported it took less than an hour to rescue pooch, who likely forgot all about it when he was treated to a puppuccino by his owner afterward.