To avoid a similar disaster, be sure your pump has a vertical float switch. Also, check your pump at least a couple times a year by dumping water into the basin to make sure everything is working ...