Hello,
I had a look at your league's previous season's driver's championship and found this driver who left your team today and doesn't currently have a new team:
https://igpmanager.com/app/d=driver&id=12697350
If this is the driver you accidentally sold, you should be able to rebuy them - providing you haven't levelled up to a level higher than the driver's level.
I hope this helps.