Removal of a tube from the trachea (airway) which is attached to a ventilator.