I think I'm probably dramatizing my own experience and making it worse than it actually was, but I can really relate to this. It was when I was still trying to come to terms with my sexuality and was not out; in fact, it was a period when my sexuality was stressing me out to a huge degree and was the source of overwhelming self-destructive behavior and thoughts.
During this period, someone was quite aggressive with me, getting too close when I asked them to not be (especially when he was drunk) and asking me about my sexuality/repeatedly offering to be an ear for "whatever I wanted to talk about" (it was clear what he wanted me to say). The latter might have been nice if he wasn't so aggressive with me in other ways that left me thinking he was the last person I'd want to talk to. It was just a matter of the fact that I dreaded every interaction with him because it always felt invasive during a time when I was particularly sensitive and it was socially aggressive in a way that I couldn't help but feel was sexually motivated and more than normal (but I couldn't necessarily "prove"). I guess the issue was that "stop" and "no" weren't respected, or if they were, something else would start in its place.
We lived in the same dorm, which made it hard to avoid him and meant he'd "just happen to be walking by" and knock, or sit on the couch outside my door to do his work despite the fact that we lived on different floors. (As you can tell, my descriptions are biased and I didn't believe his reasons, but even if he was sincere, I'm not sure he completely realized what he was doing). I liked to leave my door open to be social, but I worried he'd be the one I'd see, especially when it was at its worst for me. Unfortunately, it didn't fully end when I came out, but it did eventually.
I feel bad to this day because I don't think he understood what he was doing wrong and was letting his interest cloud his judgment. Plus, I kind of iced him out whenever he made advances. He struggled to get over his interest, which I know is hard. I wanted us to be friends eventually, but I think I need for him to understand how he made me feel and for him to apologize before that could ever happen.