The pump has failed and water is rising. What should I do now?
Get power off anything standing in water, from a dry position, and get off the floor whatever you can lift. Check the pump is actually plugged in and the breaker has not tripped, because that is a surprisingly common cause. Do not reach into the pit to free a float while the pump is energized.
If the pit is full and the pump is silent, unplug it before touching anything in the basin. If it is running and the level is not dropping, go outside and look at the discharge outlet; a pipe that is dry while the pump runs tells you the problem is in the line rather than the motor.
After that, the useful work is upward and outward: lift stored boxes onto shelving, move anything irreplaceable upstairs, and photograph the water at its worst. None of that requires equipment and all of it reduces what is lost.
Why do pumps fail at exactly the wrong moment?
Because the moment they are needed most is the moment they are working hardest, and that is when a marginal pump, a fouled float or a partly blocked discharge gives up. A unit that handles a trickle for years can be asked for several times that output in an hour and simply not have it.
There is also the power question. The conditions that put water into a basin are often the same conditions that interrupt supply, and a pump without a backup is a pump that stops when the lights do. A battery backup or a water-driven secondary unit exists precisely for that overlap.
Age does the rest. A sump pump is a motor in a wet pit, which is a hard life, and one that has never been tested is an unknown rather than a reassurance. Lifting the lid and pouring in a bucket of water twice a year tells you more than anything else you can do.
What makes the cleanup larger or smaller?
How deep the water got, how long it stood, whether the lower level is finished, and how much was stored on the floor. A few inches across a bare concrete floor is extraction and drying. The same water through a carpeted, framed-out basement full of boxes is removal, drying and a contents decision.
Stored belongings often account for more of the loss than the building does, and they are also the part most affected by how quickly things were lifted. Cardboard, upholstery, paper and particle board furniture all absorb from below and are rarely worth saving once they have been standing in water.
The slab and the masonry set the duration, because they release moisture slowly. Everything that will be done is explained and approved before it starts, and if opening a wall base changes the picture, you are told at that point rather than at the end.
Do you replace the pump?
No. Supplying, fitting and wiring a sump pump is a plumbing and electrical job, and restoration work stops at the water and the materials. What you do get is a clear account of how the unit failed, which is what the trade coming in after needs so that the replacement addresses the actual cause.
That distinction is worth knowing because the order matters. A new pump fitted into a basin whose discharge line is blocked will fail the same way, and a bigger pump does not help a float that fouls. Identifying the failure mode is the part that keeps it from recurring.
Drying should run while that replacement is arranged rather than waiting for it. The water already in the slab and the walls does not care whether the pump has been dealt with, and the readings are what tell you when that part is finished.
How do I stop this happening again?
Test the pump deliberately rather than waiting for it to be tested for you: lift the lid, pour water in until the float lifts, and watch both that it runs and that water comes out of the discharge outside. Do that twice a year and most of the failure modes announce themselves early.
Then deal with redundancy. A high water alarm gives you warning instead of a discovery, and a battery backup or secondary pump covers the power failure case. Keeping the pit free of silt and debris keeps the float honest.
Outside, make sure the discharge is clear, slopes away and does not simply put water back at the foundation where it will return to the pit. A discharge line that circles water back around the house is one of the more common findings, and it makes the pump work for nothing.