You should firstly understand the law involved in the proposed action.
You should get a reply in writing for the communication in writing done by you seeking clarification from the bank for their such an erratic action which deprives you the privileges and rights as envisaged in the terms and conditions of the loan agreement.
For injunction you can approach civil court itself by filing a suit for permanent injunction againstthe bank restraining them from indulging in such unfair practice and also to not make your account NPA at their whims and fancies without following correct and legal procedures in this aspect.