If your number switched away from BT before it ended then you would receive a termination fee, but I’d imagine this should be less than a normal months charge if there was less than a month to go.
If it’s any more then give them a call as a lot of customers have moved to EE much earlier and had those charges waived as you’re still part of the BT family.