Two failures look identical from the outside and have nothing in common.
Dies on release
Hold the button, the flame burns, you let go, the flame goes out. The safety circuit is not holding the valve open.
The thermocouple sits in the pilot flame and generates a small voltage. If the flame is weak, the tip is carboned, or the connection at the gas control is loose, the signal falls short.
Clean the pilot orifice and the thermocouple tip, check the connection, and test the signal before replacing anything.
Dies later
The unit lights, runs for a while, then the pilot drops out. That is usually the flame being disturbed, not a part that has failed.
A downdraft at the vent hood, a blocked flue, a bird's nest in a termination, or a closet with insufficient air all do this. On a hillside property with wind, a sidewall termination in the wrong spot can cause it repeatedly.
The cold-morning pattern
If the pilot only fails on the coldest nights, suspect the space rather than the parts. This area records ten to twenty frost days a year, and an exterior alcove or a louvered closet on a north wall gets tested on each one.
The draft test
With the burner running, hold a match or a smoke source at the draft hood. The smoke should be drawn up the flue, not pushed into the room.
Smoke that curls back means the vent is not working, and that is a safety issue before it is a comfort issue.
When the gas control is at fault
If the thermocouple tests good, the flame is clean and draft is correct, the control's internal magnet may have failed. That is a valve replacement matched to the model.
What we cover
Pilot and thermocouple service, draft testing, venting correction, gas control replacement, and combustion air work in older closets.