Comment on STT Trap - Options Expiry - NSE BSE MCX-SX
If your option is in the money on expiry, the buyer automaticaly exercises and whatever the option is in the money will be debited from your account.
Margin gets released end of day after the option is paid to the buyer.
Yep, closing price of the underlying stock.