It is more likely based on wishful thinking that the person they saw was the Captain.
更有可能基於一廂情願的想法，他們以為看到的人是船長。