When I was a pre-solo student, one time, on a nice, long 5000 foot runway, my instructor yanked the mixture to cutoff. That'll learn ya real fast.
I was pissed as hell and he said, well, if I don't do that to you, how will I know you'll handle a real engine failure if it happens?