What happens if I buy CE and couldn't Sell it and it expires,

Example- NIFTY 17850 CE @ 0.40RS and placed order to sell at 1.10 RS but Couldn’t sell it and market closes and showing Option price at 0.05

Explained in detail here: