If you didn’t like what was happening and he didn’t listen than yes that is having non consensual sex which is by definition rape. Now once someone makes you uncomfortable you have to have more self respect for you self to stop dating him and possible putting yourself in that situation again. Be a strong willed women and stand strong. I’m so sorry that happened to you.