Sounds like he's refusing to leave, and wants to prove himself to Guardiola. I presume it'll be a more peripheral role than this season.
Probably could've done with getting him off the wage bill, but hopefully Guardiola will find a better way to utilise him than Pellegrini has.