did I almost orgasm for the first time?

Me and my boyfriend were having sex and close to the end I had this feeling of me needing to go pee what does this mean?it was pretty intense like I couldn't hold it anymore and he finished shortly after that and after I didn't have to go anymore I've never had this happen to me and I've only ever been with this guy so I don't know what this means? I've never orgasmed before either would it have been that or just me need to use the washroom?