/town brings you to the town spawn. As we're a survival server, if you're in the wild, you must find your way back to the spawn without using commands.
You would go back to town the same way you started in the wild. There is a spawn building in each world with teleporters to the other worlds.