Has anyone added an electric igniter to their gas burner, to start or restart by button press their burner? Bolt it to the side, so the igniter is just under where the flame is, and the button is on the leg of the burner. Something like this MENSI Double Ignition kit Electronic igniter with high Spark Plug Wire Length 450mm Each for Catering euqipment Stove https://a.co/d/aPxAqWn
There is some automatic gas stopper for gas fridges. But it is something opposite of your needs.