In 1836 General Cantey recruited a company of mounted infantry for three months duty in the Second Seminole War. In 1843 he was elected Adjutant and Inspector General of South Carolina and served in that position until 1853. He was also elected to two terms in the South Carolina Legislature in 1846 and again in 1848.