In July 1762 Cornwallis received his first command in the 8-gun sloop-of-war . In 1763 he was given command of the more powerful and newly launched 14-gun . He continued in her into the peace with France after the Treaty of Paris had ended the war in 1763. During the peace in 1765 he was promoted post-captain and given command of the 44-gun . He commanded her until she was paid off and the ship was sold in 1766. In September of the same year he was given command of and was variously employed throughout the peace between the Seven Years' War and the outbreak of the American Revolutionary War.