wriggle out of

中上級 (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."