When you took the loan I'm sure the rules and charges for all banks are written in clear english.
You seem to be a Personal Loans regular. If you were smart enough, you would have looked at the PrePayment (not repayment) charges, if you intended to prepay.
No bank forces you to take their product! The choice is yours I think!