A water heater emergency is a water problem before it is a plumbing problem. What limits the cost is how fast the supply is closed and whether anything valuable sits in the water's path.
Stopping the water
The valve on the cold pipe above the tank turns clockwise to close. If it will not move, go to the property's main. A seized valve is common on older installations, and forcing it is how a small leak becomes an open pipe.
For an electric unit, switch the breaker off. For a gas unit, leave the control alone: no dismantling, no relighting a pilot that keeps going out.
What cannot wait
Water that is still spreading — into a ceiling, a wall, a closet floor, or the room below — is urgent regardless of how the heater looks. So is water near a gas valve or a live electrical connection. So is a relief valve that will not stop discharging, and so is a rental property where tenants have no hot water at all.
A tank on a slab or in a garage, with the supply already closed, has stopped getting worse. A cold heater with nothing leaking is a scheduling matter. Those distinctions are what stop an emergency call being spent on a problem that could wait until morning.
The permit reality
Pomona requires a permit for replacement, and the city's building division issues it through the Development Services Department. Fees come from a council-approved schedule rather than the code, so the amount is confirmed at the time rather than guessed.
An urgent failure therefore splits in two: what happens tonight, and what happens at the counter. Tonight is containment and confirmation. The counter is the permit, and the installation follows it.
Protecting the property while you wait
Lift what is sitting in water. A container under a weeping joint is worth the effort; under a failed shell it is not. Prop the closet open for air. Photograph the wet area with a timestamp, because insurers, landlords and property managers all ask for it and a photograph from that night is worth more than a description later.
After the water is off
The unit gets assessed: where the water is coming from, the tank's age and condition, and whether a repair is realistic. A failed shell means a replacement with its permit; a failed fitting is often resolved on the same visit. Either way, the damage stopped when the valve closed.