get (someone) out of (something)
To rescue, remove, or extricate someone from a troublesome, difficult, unpleasant, or burdensome situation or circumstance. I hope my friend finds a way of getting me out of this stupid dinner party. You can't always rely on your parents to get you out of trouble with the law.