wriggle out of

Intermédiaire supérieur (B2) informal

To sneak away from something you should do, like a worm slipping out of a hole.

"The cat managed to wriggle out of the narrow gap between the fence posts."