Intraday orders needs to be squared off by the end of the trading day otherwise the broker itself will close or square all the MIS positions.
A trader can square off positions by either placing an buy/sell order or simply hover over the scrip and tap on square off to close all open positions.