You can't teleport out of The Enchanted Forest sometimes

If you try to teleport out of The Enchanted Forest, it wont let you out sometimes. You either have to reset or wait for some time so that it lets you teleport out.