The player, with a certain amount of service time, could refuse to go to the minors and become a free agent. The player might be underperforming for $10m a year but be doing just fine for the league minimum on another team.
Since his contract is guaranteed, the original team is still responsible for the $10m - league minimum so the original team loses the player plus still has to pay almost all of the salary.