What happens if an FPO is not allocated?

In case shares are not allotted/ partially allotted, the amount blocked shall be unblocked. The amount is deducted only when the shares get allotted. Only the amount for which the shares have been allotted would be deducted from the bank and not the total value of shares which were applied for in FPO.