Just as a side note, the Pokemon that is trapped can still use a move like U-Turn or Volt Switch (unless the Pokemon is immune to electric moves, such as Trapinch/ Dugtrio) which returns to trapped Pokemon back to the Pokeball, or use a move such as Dragon Tail, Whirlwind or Roar to force the Arena Trap/ Shadow Tag Pokemon to switch to another.