The coronavirus pandemic has accelerated the permanent closure of hundreds of schools amid a drop in enrollments