What if I have a long option which I do not want exercised?

If a long option is not in-the-money by at least $0.01 at expiration it will not be automatically exercised by OCC. If it is in-the-money by at least that amount and you do not wish to have it exercised, you would need to provide IBKR with contrary instructions to let the option lapse. These instructions would need to be entered through the TWS Option Exercise window prior to the deadline as described on the IBKR website.

Powered by IBot
What happens at expiration if my long put option is in-the-money?
What happens at expiration if my long call option is in-the-money?
What is the deadline for providing notification of option exercise?
Do I have to notify you if I want my long option exercised?