Dentist told you to hold your breath because they were putting something in your mouth that smelled REALLY bad during a root canal What would this likely have been?

Most likely it's the decayed nerve or portion of it that the dentist team is about to remove from your mouth ... not something malodorous they introduce!