The doctor will follow wherever the party goes. Although if they're investigating the mystery of a missing ship, then the first place they should check is the bridge, yes?