Does anyone have any advice to stop yourself from cutting people off that you don't want to cut off? 

A bit of context: I find myself cutting people off with ease, and sometimes it happens when I don't want to cut that person off but I can feel the process happening in my brain.

For this specific situation, I recently told my best friend that I have feelings for him, and he doesn't feel the same way - which is completely okay and I kind of expected that but just needed to get it off my shoulders. We live together in a shared household and spent most of the day together and things are acting just like they were before I told him, but I can feel my brain starting to want to cut him off out of my life and obviously this is logistically impossible because we live together with others and it would change the house dynamic. 

I don't want to cut him off, I want to still be his best friend but it's like my brain can't see any other way out of the awkwardness of the situation other than to cut him out of my life and almost alienate him, and I really wish I could stop this from happening.

If anyone else has been through something similar do you have any advice on ways to actively stop my brain from sabotaging our friendship?