need help!

So, today my boyfriend and I got into a huge fight and broke up. Not gonna get into why we broke up but before we ended things he said he wanted the night to think about what he really wants. He's done this everytime we've gotten in a fight so I was just sick of it and I said no you either stay or go tonight. He said no too bad I need the night to think. I said then bye because you dont get the night to think if you want me or not. Am I wrong for ending things this way?

sorry if this is hard to understand.