What happens if I am unable to square off ITM Put options

I am having an deep ITM put short position , off course its hedged but due to liquidity I am not finding it easy to be squared off.
What will happen if I am unable to buy the deep ITM put before the expiry. Would there be some sort of penalty.

Consider an example a banknifty put ITM LTP 462.

So u r writer . if on expiry day it expires as deep ITM u have to pay the expiry price minus strike price X lots but after deducting the premium which u collected. No STT as when u wrote the option u paid STT

No penalty for option writers like STT trap.