Does anyone have any tips on how to manage romantic feelings when the object of your emotion is not interested but is your friend and you have to be around them regularly? 

My romantic feelings make me feel:
Vulnerable
Scared
Fearful (want to lash out)
Paranoid 
Panicked 

I basically have to reframe this in my head that this person is my friend, doesn't want to hurt me, but isn't going to be responsible for my emotions. I'm struggling to control myself on a daily basis around them, my anxiety, nerves, paranoia. 

Has anyone been through this and come out with a friendship still intact and got over their romantic feelings?