It’s a bug with an upgraded mate where that counts as an event and mate can keep triggering it, but it shouldn’t be an endless loop - you can keep pressing the set sail button until mate fails to trigger and it will eventually take you to endless.
Indeed this seems to be the case. Managed to replicate and fix. Patch coming soon.