Not Navy either, but it’s confusing. “Commander” and “Captain” are both ranks, but whoever is in charge of a navy vessel is called “captain” as well. So I guess captain is both a rank and a job title. Someone will correct me if I’m wrong.
That’s exactly right, and if I’m not mistaken, they are only called Captain when they are on board their vessel.