Glad you got her out.
for future incidents, a bit of oil will go a long way.
I once one of my teacher once had his PB go into a hollow square table leg, no where to go, and no way to turn around. Suck but good.
He was beside himself, as was his class, but we poured vegie oil on the exposed half of the snake, worked it in, waited a bit, and puller her right out.
No damage to snake (or desk)