I have a same issue, maybe is caused by a animation or sound of a boat docking; sometimes in older versions , the boat stucked in block, turning in darked color. But in this issue, the boat completely disapear, only available if the user exit and enter in this world again.
And i´m use vanilla world, without any mods or cave and cliffs. My version is bedrock 1.17.41