If the main card is frozen after the deadline, you have to repay it first. If you don't return the card, you can't resume using it. Repay as soon as possible. After paying off, you can call the customer service hotline to see if you can resume using the card.
If it can be restored, you can reissue the supplementary card then.