The debtor ceases to be liable for further interest when bankruptcy is declared.
For claims secured by a pledge, however, interest continues to accrue until realisation provided the pledge proceeds exceed the amount of the claim and the interest accrued up to the declaration of bankruptcy.