Left drain plug in

Left drain plug in and bilge pump died during 3 days of intense rain.

Result = water up over the carpet line about 5 inches.

How bad is this going to be? Suggestions?