My thought is that if she doesn't get something to interrupt her pattern, she will act out in even worse ways once she returns home.
She has crossed the Rubicon and she's angry with you for holding her accountable. This seems like a very dangerous situation.
This. I hope that the doctors can get her stabilized to a point that you are safe in your own home, but the reality is that you haven't been safe there for a long, long time. Now, she feels betrayed (and possibly abandoned) by you.
Sometimes, we get to a point that we can't help our spouses any more. I'm worried about how much you are going to be able to help once she gets out.