So last weekend I wedged my M12 ratchet into the gap next the engine mount trying to get at a bolt near the timing cover, and the thing just would not come back out. Head was in there at an angle, socket still on the bolt, and every way I pulled it just jammed it tighter. Sat there staring at it for a good twenty minutes thinking I was going to have to pull the mount or worse. What finally worked was taking the socket off. I kept trying to yank the whole tool out with the socket still attached, and that extra bit of metal was catching on the bracket edge. Once I used a stubby wrench to crack the bolt loose and spin it down by hand, I could rotate the ratchet head flat, drop it straight down out of the gap, then reach in with a flex-head wrench to finish the bolt. Whole thing took five minutes once I stopped fighting it.
Also learned the hard way that the battery pack is what makes the tool too tall to pivot in there. Pulling the battery off first gave me just enough clearance to angle the body out. Next time I'm doing that before I even stick the thing in a tight spot.