From the last 5 gens, jessie, james n meowth are trying their lvl best to capture ash's pikachu using latest techs, making traps etc, but fails to catch it.. But now, will they cntinue their plans to catch pikachu or will they leave the show once and for all and someone else would come to catch ash's special pikachu?
They left for a while before the Unova Arc. Through out the Unova Region they have been doing other things and leaving Pikachu well enough alone. Now though, I think they are back to their "Let's catch Pikachu" schemes. The N Arc hasn't fully started yet so I can't be 100% positive, but they aren't going to give up on it.
I have a feeling that Team Rocket is going to be included in the anime until it finally ends. Just like Ash and Pikachu, they're going to be the only original members of the show still around years from now. (if the anime keeps going, that is.)
Team Rocket should learn that if they haven't been able to catch Pikachu within the last five generations, they're not going to catch Ash's poor electric mouse now, either. Haha. xD
But I do think they will stay because, from what it seems, the tradition involving Team Rocket in every generation of the anime has always been kept. I actually don't mind them, but their involvement does get a little annoying sometimes, especially since you already know their evil plots will always fail regardless of the circumstances.
If they would have let them stay in Kanto I may have felt they would try and subtlety end their role. But they returned with the some reason as they initially followed Ash. Co because they want Pikachu. So I am fully sure they will reprise their role in XY Anime.