To leave a town say
- /town leave
If you are stuck this will not help you. This command lets residents of a town leave so they are free to join other towns. If you are stuck send a message with a screenshot of your game with the coords visible and we will get you out as soon as possible.