Sentence:  On previous voyages , it had been in precisely such dangerous situations that he had failed as a leader and <WSD>captain</WSD> . 
Meaning of the word marked with <WSD> tags:  an officer who is licensed to command a merchant ship