Does the ability Shadow Tag still apply to the target pokemon if the pokemon that has the ability is switched out?
Unfortunately, GLIGURR's answer was incorrect. This source says, "Shadow Tag prevents all foes from fleeing (including Teleport) or switching out while the Pokémon with this Ability is on the field."
Yes. look here >Prevents the foe from escaping
It does work since a ability doesn't just stop working
hope i helped! CONGRATS! You Got my 101th answer!