Finally, Snape shuts everyone up at once with a silencing charm that hits pretty much all of the students, though it still takes a few moments for everyone to realize what’s going on and actually go back to paying attention to their professors. With a grateful nod from McGonagall, he dispels it and she goes back to reading off the next name before the situation has a chance to devolve again.