Updated

A New Jersey pet owner and her pooch shared a happy moment over the weekend after the animal reportedly got trapped in a pipe and was rescued roughly 24 hours later.

Kristie Ann Ramos hugged her dog, Khaleesi, a 1 1/2-year-old miniature long-haired dachshund, on Sunday after she was rescued from the situation that began a day earlier, WNBC-TV reported.

RESCUED SQUIRREL BECOMES PART OF WOMAN’S FAMILY, STASHES NUTS IN HER HAIR: ‘HE’S SO FUNNY’

The ordeal unraveled Saturday when Khaleesi and owner Emilio Ramos – Kristie Ann’s husband – were at a park in Secaucus, New Jersey, he told the outlet. The dog reportedly darted away after seeing a rabbit and ultimately got stuck in a vertical position in a pipe.

With the help of Khaleesi’s transmitter collar, Ramos was able to track her down, WNBC reported.

"Once I got near, I started hearing her bark," Ramos told the outlet. "After a while, that bark turned into a crying noise."

IKEA PRAISED FOR LETTING STRAY DOGS SLEEP INSIDE STORE DURING WINTER MONTHS

Since it was getting dark, the mission had to be delayed until the next day, the outlet reported.

"It actually broke our hearts to have to leave her,” Ramos said.

Around 2 p.m. on Sunday, firefighters were reportedly able to rescue her from the space and returned the dog to her owner’s awaiting arms.

The situation “made us realize that there’s still good in a lot of people,” Ramos told WNBC.

The Associated Press contributed to this report.