If using a gas must be turned on when to use and when to use, and then close it, close the valve at cylinder head before letting the power outage, and then turn off the stove.
If you are using a gas must be turned on when you use and when you use it, it must be turned off, close the valve on the tank before you let it go out, and then turn off the stove.