This happens more often than you might think.
Happened several times to me. Worst time I had 2 pups in a hollow tree. Little bitty hole right at the ground. One was my youngest daughter's male she showed. She was crying, I thought I was gonna have to go home and get some grease lol. I don't know how they got in there, but I finally laid down, stuck my arm in to the shoulder and waited till I felt a foot. Got both hind legs, folded the tail down and worked em out backwards. They were a little skinned up, but at least they went home that night