that is moronic of your instructor. Can you imagine trying to defend that if a student dies? "Yes your honour, I snuck up and turned off his oxygen without him noticing and after a few minutes I noticed him stop moving"
I've had two very well known instructor trainers from two different agencies turn off my oxygen as part of my instructor level course to see if I was aware of the issue.