 President John Tyler appointed Floyd as Secretary of the Wisconsin Territory on October 30, 1843, and served in this capacity until February 24, 1846, when a successor was appointed.He continued to live in Dane County, Wisconsin Territory, and served as colonel of the Dane County militia from 1846 to 1847.He returned to Wythe County, Virginia, where he became a farmer.