I am posting this on behalf of my friend.

My friend is 28 and he was in a relationship with 27W for five months. She was not interested at the beginning but they had great chemistry and it just happened. Last two months in their relationship, he showed too much interest and she started showing her masculine energy. At the end, she told him to take a break and see how things go. Then, they did not text each other for two weeks. One week ago, they again met at my friend's place. He intitated the touch several times but she rejected. She told him to be "just friends" and she lost her sexual interest for him. But she still wanted to hang out time to time without any solid commitment. In this situation, is there any way my friend can get back her again? Or the best option is to walk away? Her birthday is coming after 4 weeks and my friend wants to spend time together.

TLDR: My friend had a 5 months long relationship but stated showing neediness at the end. Now she does not have any sexual interest but still wants to hang out time to time and "just be friends". Is there any way to get back to her again?