hi sharon ther is a thermocouple on your oven which detects the oven is lit and keeps the gas valve open when nob is released this is a safety ddevice that turns off the gas if the flame goes out it sounds to me as though the thermo is faulty hope this helps
ritch, January 2010