The one room schools on the islands here sometimes have 5 students, sometimes 1 and sometimes 0. When the school population is zero, the school has to technically stay open as the process to restart a school is a pain. (This is on the several very small islands with year round populations in the 2-4 dozen range.)
The one room schools where I live (Victoria, Australia) were shut down in the 1970s after some men kidnapped an entire school - teacher and pupils and tried to hold them to ransom for a million dollars. The plan failed because the teacher - herself only twenty years old - managed to lead the children in a successful escape. She was decorated for her bravery.
The state’s (conservative) Education Minister was seen as a hero as well. He agreed to meet with the kidnappers personally with the intention of offering himself as a hostage in exchange for the children - but the kidnappers had already fled at that point when they’d realised they no longer had their prisoners.