In football, that can't happen. If the player doesn't want to leave, the club can't legally do anything to force him to. They can freeze him out of the team; stop him from training at club's facilities etc. But if he has a contract, he can just refuse all offers and still keep getting paid.
In its extremest form: Winston Bogarde
From
wiki:
Bogarde signed for Chelsea in 2000–01, after following the advice of compatriot Mario Melchiot to join him at the Premier League side. He was signed when Gianluca Vialli was manager, although the latter had no idea the transfer was happening, it arguably being conducted by director of football Colin Hutchinson – Emerson Thome, also a centre-back, was shipped off to Sunderland. Only weeks after signing his contract, newly appointed manager Claudio Ranieri wanted the player to leave.
According to Bogarde, it would be next to impossible to find a team that would offer him a contract comparable to the one he had at Chelsea: he was astounded at the salary the club had agreed on, as his value depreciated severely due to lack of first-team action, and decided to stay and honour his contract to the letter and appear for training every day, despite being only rarely selected to play. Of his contract he said, "Why should I throw fifteen million Euro away when it is already mine? At the moment I signed it was in fact my money, my contract." In the end, he only appeared eleven times during his four-year contract, reportedly earning £40,000 a week during this period.
After playing as a substitute against Ipswich Town on Boxing Day in 2000, Bogarde only made one more appearance for Chelsea's main squad before his contract expired in July 2004; it was also made from the bench, against Gillingham for that season's League Cup on 6 November 2002.
During his period at Chelsea, the club attempted to sell Bogarde due to his large salary, and demoted him to the reserve and youth teams in an effort to force him to leave. In response to press criticism, he responded: 'This world is about money, so when you are offered those millions you take them. Few people will ever earn so many. I am one of the few fortunates who do. I may be one of the worst buys in the history of the Premiership but I don't care.'
On 8 November 2005 Bogarde announced his retirement from professional football, having failed to reach an agreement with a club since leaving Chelsea.