They probably had the boats in use for a while, and when the pharaoh needed them somewhere else, it was the easiest plan to implement. :’)
IOW’s the author is full of it?