When I was terminated once, I also felt unsafe simply because of how upset I was. I couldn't function, constantly crying, etc. I decided that I wasn't going to let myself be completely shattered by
him. I was still upset but this helped me to focus on managing my pain and focussing it on what the next step would be and how I would get there.
I have a bit of a SI background but I never self harmed during that period and am proud of it.
Maybe it will help you to focus on refusing to let your T control you and your emotions any longer and figure out what the next step is that you need to make for your health and continued progress.