Yep. This is using intimidation and fear of pain to coerce sex.
If this had been on the up and up, he could.have still kept it a surprise, but led you into the surprise with enticement.
Like, by pointing out how many stars are visible that night.
By putting on some music, or changing the station to something romantic or dance music.
By asking you to join him instead of getting out and banging on your door.
And that's just basics outside being proactive about intentionally seeing things from your perspective.
It's just being inviting rather than entitled or demanding.