Oh my, I feel your pain. Something hung in the valve which kept the water from shutting off. That happened to us a few years ago. Luckily, I noticed it before the water had spread everywhere. It was an exhausting process vaccuming up water into the wee hours of the morning. Thank goodness I had a steam cleaner, and a wet/dry vac too.
I am so sorry that this happened to you.