 Submarines and destroyers are typically commanded by a captain or commander.Some destroyers, particularly smaller destroyers such as frigates (formerly known as destroyer escorts) are usually commanded by officers with the rank of commander.Corvettes, the smallest class of warship, are commanded by officers with the rank of commander or lieutenant-commander.