Rape or not?

so the other night I had gone to bed early after taking some sleeping tablets as I've had trouble sleeping lately. my SO came to bed around 3am and I woke up to him trying to have sex with me. I kept moving away from him but he kept trying until I yelled no! He then got pissed at me saying that he should be able to have sex with me whenever he wants and such until I had no choice but to give in. I made it clear I didn't enjoy it at all no noises from me nothing. He just finished and then went to sleep. I was then up for half an hour before going back to sleep. I don't know how to feel or interpate this