Hello, sorry about that i need to add tutorial. Every few chunks flags spawns to the left and right that you can interact to return. Thanks for playing.
OH I was also confused. Could be helpful if you put flags at the top as well and give the player enough jump to hop up 1 block. That way you can show players how to exit as well as giving them an exit right off the bat.