In ideal scenario, there cannot be any input tax credit balance lying unutlised when all the stocks are sold out. This is for the reason that the outward supply value would be on a higher side than the inward supply value. That means the input tax credit shall get utilised against the GST payable on a higher value/sale value.
Even then there can be a situation when GST liability was paid in cash /Electronic Cash Ledger instead of offsetting it against input tax credit/Electronic Credit Ledger. Unfortunately there is no provision of claiming refund of unutilised input tax credit.
I fully agree with the view of Sri Kasturi Sir that taxpayer need to request GST Council/Govt. to provide facility to claim refund of the input tax credit available in Electronic Credit Ledger on account of closure of the unit and no stock is lying in it.