How do you deal with an avoidant attachment personality relationship partner/ situationship? Recently I realized they have that personality?

I realize the only way is to leave. Thinking it over and understanding this relationship is going nowhere, how do you stop thinking of that person? I won't be reaching out to her anymore, yet the process of grieving the loss of that bond we once shared is not easy. I can't be waking up at night multiple times haunted by the loss, having headaches... focusing on hobbies doesn't do much, she's always in the back of my mind and I can't stand it anymore, I know she sure as hell is not losing sleep over me. They were the first person I opened up to, I never let my guard down before... I hope anyone reading this understands how much it hurts. Thank you for your replies and kindness in advance. Thanks to all who helped on my first question too.

How do you deal with an avoidant attachment personality relationship partner/ situationship? Recently I realized they have that personality?
Post Opinion