Each world has a specific spawn point. To return to the spawn type /spawn.
Ships to all worlds are in the Mainland spawn. If you’re in a world other than Mainland and want to go to a different world type /spawn, turn around, and board the ship that is docked at that spawn point. That will take you back to the Mainland spawn.
If you want to return to your home rather than the spawn use /home