There's also the question of who's going to deploy (and untangle) the boarding ladder that pilots use to get aboard vessels. As well as the prospects of hacking that subsystem in order to divert the vessel.
Now design me an automated deployment system which can handle the operating conditions and environment, and respond, effectively, as good or better than a human can.
Consider that your ladder can get snagged, caught, swing in the wind or seas, collect flotsam or jetsam, etc. Things can get very squirrely at sea.
Sometimes humans aren't the best at a specific function, but through processing and manipulation capabilities, including the ability to use and apply multiple other tools, they're the best means for responding to a general case of circumstances which cover a lot of ground.
Not hard to imagine something better than jumping to a ladder on the side of the boat to be honest.
That system could stay as-is if the normal crew would be automated away.