The Pope waved from the hospital window before being discharged to return to the Vatican.