The programme has ended, something has finished, and he has a sense of something having finished its course, and then all of a sudden he turns away and this other thing has just finished its course, this other person.
The school-boy doesn't force himself to learn his vocabularies and rules altogether at night, but knows that be must impress them again in the morning.
For me, one of the most perfect times to watch a horror movie is when it's cold and raining outside and there's pretty much no outdoor activity to be done. It kind of sets the mood.