slip away
steal away
sneak away
sneak off
sneak out
slip out
leave furtively and stealthily
The lecture was boring and many students slipped out when the instructor turned towards the blackboard