Spoilers ahead, please play before reading.
Took me like three tries but I finally got it! There is quite a bit of strategy to this: 1) learning that the teacher wakes up a bit after the sound, 2) learning that you can exit the chair a tiny bit BEFORE he goes back to sleep (or am i imagining that?) 3) learning that traveling diagonally is way faster than cardinally! I enjoyed most the times where I had to devote an entire iteration purely on orienting myself on the other side of a desk -- bit of a fun puzzle, that was. I also liked when the correct path was the circuitous one, and the direct path was a red herring leading to ruin. Great work!