I had this done by a very experienced ex RAF instructor in 1964 - but the engine was NOT allowed to stop - it was in a Jackeroo.
After allowing my licence to lapse for 20 years, and re-doing it, I was being checked out on a C150 in Oklohoma when the engine note changed. I glanced at the instructor, noted his expression, and distracted him while I turned the fuel back on. (We were overhead a strip.)