If the appliance shuts off then, the gas is off. Sometimes the unit going off is the safety system working. Wind or weather conditions can blow the pilot out shutting off the unit. In most cases you can restart your appliance and it will operate normally. If the appliance will not restart, please contact your local dealer for service.