The first set of students were out of the room, allowing the group remaining to steadily move toward the doorway, focusing on keeping the barrier alive or trying to keep the monster from wiggling its way through. Stay focused and your efforts will prevent the monster from getting through the barrier any further.
Minutes then quickly pass by, surely enough for those remaining to start making a run for it. Do so now or you will be dinner.
OOC: The first group of students should be heading through the portal (make your posts there at this time). Those of you still remaining: it is time to make your escape! Start casting spells at the monster (it will be interacting with you, so stay vigilant) and make your way back up to the portal.