Not to make light of your situation, but I almost wish mine did the same thing. It would be so much easier for me in the beginning to leave and not look back. Not saying that I wouldn't be shocked and awed the day it happened like you are, but when somebody disrespects you to this degree, it is kind of tough not to say "You know what, I don't need this crap in my life."
Kind of what happened to me. But I was left to figure out what I did so wrong. Set off abandonment issues and feeling worthless. Oh the pain comes and goes after 9 months, but after the swelling went down from the hammer to the head, I got a gift. A gift of helping my self on issues that have been hidden and now I can focus on so when I do decide to have another r/s, it will be healthy, not toxic.