If you kill yourself, you should respawn where you slept last. You may find yourself lost in your Minecraft world and you can't get back home. We will cover examples of how to use the /kill command to kill your own player, to kill a specific type of mob, and to kill all mobs except players in the game.
For PS4, press the D-Pad (right) on the controller.For Xbox One, press the D-Pad (right) on the controller.For Pocket Edition (PE), tap on the chat button at the top of the screen.For Java Edition (PC/Mac), press the T key to open the chat window.The game control to open the chat window depends on the version of Minecraft: The easiest way to run a command in Minecraft is within the chat window. To kill all skeletons: /kill How to Enter the Command 1. To kill the player named Axe2Grind: /kill Axe2Grind To kill yourself in the game in Minecraft Education Edition: /kill