I do not know how the installations in the USA are done. In Germany gas heaters and ovens must have a device that shuts off gas flow when the pilot flame is out. The device does not depend on electricity. Itīs often operated by a bimetal strip. Turning back on NG does not cause any issues with those installations.
_________________________
If it isnīt broken, it doesnīt have enough features yet.