You cannot undo the damage created, but you can, for sure, prevent something worse from happening. Shut down the water immediately so you won't wake up with a flood in your house. Last year, I went through a similar situation, but it was in my summer house, which I don't go to very often, so I...