If you are stuck in a world, go to the main menu(below the Play online button) and disable signs text. Thats how you can leave the world.