Hi ScramUK and welcome to subsim
Ships getting stuck in the harbours and in the canal is a common thing for us all.
They just do not like crashing into each other and when land is close it makes it worse.
Many poeple have looked at this, but none have found a better solution - so the ships will stop rather than crash.
A save load can get them moving agian until they get close to the next object