Yeah, it's a bit confusing. Once you get back on the ship there's a little button in the bottom-right corner next to the End turn button, clicking that you can exit back to the overworld or sail back to town.
Oh, i see. Thanks. The game looks awesome btw. :)