I'm not exactly sure what you mean with "teleport thing". Are you talking about the forest maze? If so, you need to go out exactly where you got in. There are two bushes vertically from eachother that mark the way, they should be around 4 steps apart. If you go inbetween them, you should find yourself out again!