Minecraft wiki entry for Exploring_caves, associated text: When finished exploring a cave, it is best to try and find the way back to the surface via the way they have came, rather than by digging upwards. However, if need be, they can make their own exit — just dig upwards to the surface in a staircase fashion, watching for drips. Players can also dig directly upwards, however, be careful when doing so, as gravel could fall on you and cause suffocation. If this happens, you can use a shovel to quickly dig your way out. You should also keep an eye out for water droplets or lava droplets falling from the block above.