I was in a gym and battled and I would take off my exp share from my ttar and then it got up moves and then it was gone
You cannot take an EXP share off of a Pokemon while you are mid battle. This will glitch it and it will disappear. If you need assistance getting it back, please try messaging a manager or email "[email protected]" and explain the issue.