If Gas the Gas valve has to shut down If the system is tripped. Also everything electrical under the hood must shut down ( except the exhaust fan as you stated)The fire Marshall usually enforces this. The gas valve I;m reffering to feeds all gas units under the hood.