Professor McGonagall stared anxiously after them for a few moments, then waved her wand at her fallen books, causing them to soar up into the air and back into her arms. She left, leaving the students there.