At the end of surgery, the anesthesiologist opened a sealed envelope labeled with software-generated randomized numbers to learn the patient's assignment to one of two groups to emerge from anesthesia with the ETT still in place or after it had been replaced by an LMA.