Minecraft – I dug a really deep hole in creative mode in minecraft but i didnt die and now im stuck in this weird area, what should i do

minecraft-java-edition

I was in creative mode in minecraft and I got lost, so I dug a really really deep hole in the ground to I could die and then respawn where I began. I dug the hole and fell somewhere, but I don't know where I am. All I can see is the moon and sun. I can't move and I don't know what to do. Does anyone know how I can fix this?

Best Answer

If you have cheats enabled:

The \kill command can be used to kill yourself to finish off your plan.

Use /gamerule keepInventory true in order to keep your inventory upon death.