It is only possible to close a position (trade) during the trading hours of the financial instrument. In addition, occasionally, financial instruments may be temporarily unavailable for trading when market events restrict price feeds, i.e. linked to extreme volatility, illiquidity, underlying market suspensions, etc.