A natural phrase here would be: "Fortunately, he/she pulled through".