In the U.S. Navy a commodore is ranked above a captain and below a rear admiral; the designation has usually been used only in wartime. Outside the navies, the master of any vessel is addressed as captain, and the term is usually applied as a courtesy to marine pilots.