What will happen if any stock reaches its upper or lower limit?

What will happen if any stock reaches its upper or lower limit?

In case of short selling, if the stock is in the upper circuit, it will go in Auction and settle by the exchange on T+1 day, and in case of a buy position, it will go to your holdings.