If someone is injured, or unavailable due to some other reason (similar to what happened to Suresh Raina in IPL 2020), then they need to forfeit the salary.
Not so I guess because overseas players skipped the season in between or completely after they have been purchased for premium process in the auction due to the international matches get paid in full so no matter whether it is personal reason or injury they will get their contract pay in full.