If you have bought a stock on margin then you will have to square off the position the same day (at least with Zerodha).