What if the bank linked to my PhonePe account is not active anymore? 

In such cases, you can unlink the inactive bank account and link a new bank account from a different bank to continue receiving or making payments. Alternatively, you can make your secondary bank account as your primary one.