The best course of action it to shut off the gas valve. Shut off the water supply. Remove the smoke pipe. Drain the water heater cut the 2 water pipes. Undo the gas supply. Move it aside for a new Rheem or, Bradford-White!