The whole amount that remains unutilised will be regarded as long-term capital gain in the year of its expiry, and you will be responsible for paying capital gain tax on that date if you are unable to use the proceeds in CGAS for the particular purchase.