$stopPlayer will destroy the current player.
$stopPlayer
This will destroy the current player:
1client.command({2 name: "stopPlayer",3 code: `4 $stopPlayer5 `6});