>Using Baton Pass, U-turn or Volt Switch, or holding a Shed Shell will allow the Pokémon to switch out under all circumstances. Run Away and the Smoke Ball will circumvent its effect to prevent fleeing and teleporting, but not to prevent switching.
So yeah, but that's the only way you can escape the evilness of Shadow Tag. >:)
Hope I helped. :)