On a hillside property, a failed heater is a vertical problem. Water leaves the unit, follows the fall of the building, and appears at the lowest point it can reach — a ceiling two levels down, a garage, the underside of a stair.
Stop the supply
Close the valve where the cold pipe enters the top of the tank. In a semi-exposed space it can be stiff with corrosion; if it will not move, go to the property main. Then remove the ignition source: gas control to off, or the breaker down.
Arrange access while you are on the phone
Gated entries and private drives are the norm here. A code, a gate-list name, or a resident meeting the vehicle — the community's rule decides. Say it on the call rather than after an arrival that cannot get in.
Contain what is out
Towels at the thresholds, anything on the floor moved clear, a bucket under the discharge pipe. If water has reached an outlet, a fitting or a panel, keep away and treat it as an electrical emergency. Smell gas? Get out and call the utility from outside.
The line at any hour
The phone is answered at any hour, and the first useful step is walking you through making the unit safe. That describes the phone, not a guarantee of an on-site arrival at that hour — if water is still moving, say so and ask.
What cannot wait
Active discharge. Water near wiring. A valve still discharging after the inlet is shut and the tank cooled. A household with nothing hot from any tap.
Afterwards
The source decides: shell failure means replacement under a City of Newport Beach permit; a union or valve is a repair that waits for daylight.