It was unplanned because we had public health leadership which decided to ignore decades of pandemic planning and lessons learned, and a president who went along with it.
See here https://covid19.uis.unesco.org/global-monitoring-school-clos... France and Switzerland as an example.