The cases prompted school officials to shut down in-person instruction and place all senior class members in full-time remote classes this week, just as the state has been encouraging a return to classroom instruction and more teacher vaccinations.