 After leaving Congress, he resumed the practice of law in Hebron.Gilbert was again judge of the county court 1820–1825 and a member of the Connecticut House of Representatives in 1826.He died in Hebron, Connecticut in 1846 and was buried in Old Cemetery.