In a country where there are no supply teachers then yes the academic year could become disrupted by maternity leave.
I have seen this happen.
It his hard to find a short-term replacement only, unlike a resignation.
However I don't think the principal addressed or tackled the topic tactfully or presented a realistic solution.