Delisted Company stocks How to remove not transfer

I think only viable option is to transfer out those shares. Nothing else can be done.

Mint had an article some time back on this.
Steps to take if you hold delisted shares in demat | Mint (livemint.com)