Because although the headmaster had this idea, a boy handed it in and looked exactly like the headmaster's dead son, so the headmaster tore up his resignation report.
The headmaster's son is a volunteer who died on the battlefield. After that, the headmaster wanted to resign, but he never did, because he didn't want to give up his children.