ChatterBank2 mins ago
No best answer has yet been selected by Salo. Once a best answer has been selected, it will be shown here.For more on marking an answer as the "Best Answer", please visit our FAQ.
Karl is almost certainly right. The thermocouple is a device designed to cut-off the gas if the flame blows out. Pushing in the knob when you light the gas bypasses the thermocouple; when you release the knob and the thermocouple is faulty the cooker thinks the flame has blown out and turns off the gas.