Hermione couldn’t stay put. As soon as McGonagall left her office, so did she. She ran. Still barefoot and in near dishabille, she didn’t stop until she reached the gates of Hogsmeade Village, disapparating to Grimmauld Place with a  crack.