An oven appliance with features for detecting and containing a fire and/or smoke within the cooking chamber of the oven appliance is provided. A method for operating an oven appliance to detect and contain a fire and/or smoke within the cooking chamber of the oven appliance is also provided.