Anaesthesia

5 minutes before recovery from anesthesia, nitrous oxide is removed and 100% oxygen is administered to the patient to prevent -