bailing (someone) out
(figurative) releasing (someone) from difficulty.