What a difficult and courageous step. Good for you. I did something similar not to long ago. I am back in my home now, but too decided that if the insanity was not going to stop, I was going to remove myself from the situation.
I stuck to my boundaries, took the scary first step and thankfully had someplace safe to go. I went and once I had my thoughts under control and knew that I was strong enough and sane enough to keep the promises I had made myself, I went back and dealt with the situation IN MY TERMS.
Good for you. Be strong and get well.