Bank refused to Return my Jewelry

Hello Before a year in 2017 I've taken loan of 65,000 against the 50.20 gm Gold at HDFC Bank, with the same bank i was using the Credit Card, the same was purely clean when i have taken this Loan but later i have used the credit card and repay my bills but after some moment i stuck in some financial crisis, so that the last bill of Credit Card i couldn't pay till date. But, I have managed to arrange the Loan Amount of 65000 to get the gold back to my home but before a week when i went to bank with the money first they asked to Online Transfer all the money of Loan and later by late evening they refuse to give back Gold by saying "your credit card is unpaid that's why our system doesn't allow to proceed further" and they asked me to pay a minimum amount of Credit Card of 1700 Rupee which i manged in few minutes but still they forcing me to to clear both bills (Credit Card + Gold Loan) and if i don't they keep the gold until i pay both bill which is not possible for me as today' situation. give me solution, what should i do and how can i fight legally with HDFC Bank to take my jewelry back by paying that loan amount and later credit card bills.