With North Carolina's secession and the outbreak of the Civil War in early 1861, Cox raised and outfitted the "Ellis Artillery Company."
Missing the Gettysburg Campaign due to his injuries, Cox did not return to the field until the Fall of 1863.