What event triggered her to want you to leave?

You should have let her call the police and let them decide if you HAD to go. She can't get a restraining order against you if you haven't done anything.

Do you have an attorney yet? If she has papers ready to file, you'd better have one. Ask your/an atty about the situation. If you don't have the $, they will usually meet with you the first time free and give you some advice. Or go to the police and ask them about your rights in this situation. If you haven't done anything, she can't force you to leave.

You HAVE to stop being afraid. I know it is hard, but it is where you have to get your mindset. You need to have a plan if she files.

Hopefully someone with more experience will come along to help.