Not to mention you cheated yourself out of whatever orgasmic reward he had in mind for you.
There's a thread called Cum Restriction Support and though it was started for different reasons, there's a lot of good information about how many doms use CR & CD for reasons of training and rarely as punishment.
Cum Restriction Support Thread
That might help you persevere next time.
PS (Ignore the part of the thread about "good punishments" That was off topic.)