Malala Yousafzai, the Pakistani schoolgirl shot in the head three months ago by the Taliban for advocating the education of girls, has been discharged from a British hospital. Doctors said she had made “excellent progress” and would be staying with her family nearby before returning for further surgery to rebuild her skull in about four weeks.

“Following discussions with Malala and her medical team, we decided that she would benefit from being at home with her parents and two brothers,” said Dr. Dave Rosser, the medical director.

Video released by Queen Elizabeth Hospital in Birmingham, England, showed Ms. Yousafzai walking slowly out of a ward, wearing a head scarf and accompanied by a nurse.