I discovered the oven thermocouple was broken and burned off at the end. This prevented the oven pilot to remain lit after releasing the oven control knob.
I ordered a new thermocouple which was part of the oven burner assembly. The oven now works just fine.