press the escape key on your keyboard and select the "end mission" option
in a campaign you may do this same process as well however ...
at 100% realism you can only use this option when located in a friendly port.
at less than 100% realism you can use the "escape - end mission" option anywhere even in the middle of the sea and it will transport you back to port
__________________
|