While I am not a RV oven expert I believe the thermocouple shuts down the gas to the main burner if the pilot goes out, but I am not so sure about the gas to the pilot itself… I do know if the knob is set to the pilot position the pilot gas will flow flame or no flame until the knob is manually turned to pilot off…
I have personally been in RV’s where they were left in the pilot position so the oven didn’t need relight it every time they wanted to use it, and when the tank was changed they forgot to relight the pilot or turn the knob off causing gas to build up slowly in a closed trailer over some time…