You are technically correct though Bligh as commanding officer would have received the courtesy title of captain when being referred to, and would have been known as 'the captain of the Bounty', though he did not hold the rank of post-captain.  'Commanding officer' seems reasonable to avoid any confusion though.