in practice, these were usually unrated sloops-of-war of no more than 20 guns. the royal navy shortened "master and commander" to "commander" in 1794; however, the term "master and commander" remained in common use for many years. a corresponding rank in some navies is frigate captain. in the 20th and 21st centuries, the rank has been assigned the nato rank code of of-4.