There are 6 Moves that switch the user out:
1) Baton Pass: Switches the user out, passing on all stat changes, substitutes, the effects of blocking moves and the healing effects of Ingrain and Aqua Ring
2) Flip Turn: 60 BP, Physical Water type Move
3) Parting Shot: Non- Damaging Dark-Type move, Lowers the target's Attack and Special Attack
4) Teleport: -1 Priority, Non- Damaging Psychic move that switches the user out in battles and ends wild battles
5) U-Turn: 70 BP, Physical Bug Move
6) Volt Switch: 70 BP, Special Electric Move
Source: https://bulbapedia.bulbagarden.net/wiki/Category:Moves_that_switch_the_user_out