extricate

To carefully free yourself from a difficult or trapped situation.