If the holder is hit by an attack, it will switch with another Pokémon in your party.

V

The Eject Button (だっしゅつボタン, Escape Button) is an in-battle effect item that was introduced in Generation V. The Eject Button, which can only be used once, switches the holder out of battle immediately after it is attacked. It can be bought for 32BP at the Battle Subway