Leave and leave as soon as you can. You’re not her parent, so as long as you were a good boyfriend during the relationship, what she does afterwards is not on you. Besides, I’ve found that people who truly are prone to self harm like that, often don’t exhibit signs.
My ex boyfriend tried to emotionally blackmail me into staying with him too, after he cheated might I add. Just leave man.