Does the burner try to come on?
Is the inner hatch to the burner compartment sealed?
To replace the thermocouple you have to open the inner hatch. Before you disconnect the pipes and tubes and withdraw the hatch and burner assembly completely, pull the hatch open just a little and try to light the heater again.
Your water heater may have an intake block that activates if cleaning fluid or other flammable liquid is spilled nearby. A replacement part is needed to reset the intake. The heater disabled for this reason will resume operation temporarily if the hatch is left ajar and the gasket (now needs replacement anyway) peeled off. But the heater should not be operated this way awaiting repair parts if the flame has a lot of yellow in it or if the warranty is still in effect.