The easiest way to do that is to create the repeating booking and then go to the date past the end date and delete that booking and all following.
For example, if you wanted a booking to be on every Tuesday, but only want it to last for 6 weeks (not 6 months), you would create a repeating booking today, then go to the first event past when you want the booking to end and delete that booking and all following.