Ok so someone made a mistake and applied an auto-pilot command early.....it happens.
It appeared from that point, a crew member had inadvertently hit an execute button, causing the vessel to alter its course in a way it would do around about one nautical mile further along. As this happened early and steered it towards the shore.
As an automation engineer, my first though is why is this even able to happen? Once you are outside the area where you need a local pilot to guide you, shouldn't the system check the GPS location to ensure that the commands make sense. This should be easy to check!