There is a simple method for finding your way out of a maze or labyrinth:
Touch the wall or hedge with the hand nearest to it, left or right.
Keep that same hand touching the wall and keep walking.
This may take you on a horribly long route, but it will eventually get you out.
The only exception is if you are touching an ‘island’ wall, that is a closed area, but you can check this by marking the ground and if you walk past it again, then you know you are touching an ‘island’ area. All you do then is reach out the opposite hand, touch the opposite wall and set off again.
This is often not the fastest way out, but it works.