Liquidate opened positions during pre market


I implemented a strategy for trading pre market and my position went through. The problem I have right now is that it doesnt allow me to liquidate the position from the interface stating “markets are not open”.

So it accepted my long pre market, but wont accept liquidation / closing the position?

Can somebody please clarify on that issue?