When Virginia seceded from the Union, in 1861 Cooke followed his brother-in-law, J.E.B. Stuart, to join the Confederate States Army. To his dismay, his father remained loyal to the Union, as did several relatives.[3] Commissioned a first lieutenant in the Confederate Army, Cooke fought in the First Battle of Bull Run as an aide to Brigadier General Theophilus Hunter Holmes. In April 1862, he raised a company of light artillery and was elected colonel of the 27th North Carolina Infantry, receiving a promotion to Major and Chief of Artillery in the Department of North Carolina. Wounded at the Battle of Antietam, he recovered and received a promotion to brigadier general on November 1, 1862.[3]
Leading a brigade at the Battle of Fredericksburg, Cooke was badly wounded by a bullet which fractured his skull. He was able to return to the field in April 1863. In October 1863, while commanding a brigade in A.P. Hill's corps, Cooke received another serious wound at the Battle of Bristoe Station during Hill's attack on the Union II Corps. His shattered shinbone took months to heal, and during his recovery Cooke served on military tribunal in Richmond. Upon returning to field duty, Cooke received another leg wound during the Battle of Spotsylvania, but remained on the field to lead an assault from horseback. In all, Cooke was wounded seven times during the Civil War.[3] Cooke's brigade played a significant role in the Battle of Sutherland's Station, its resistance to Union attacks enabling other Confederate units to retreat.
Post-War life
When the War ended, Cooke went to Richmond, and became a businessman. He helped found the Confederate Soldiers' Home in Richmond. The family breach with his father—who had stayed loyal to the Union—was healed some time after the end of the War. Cooke also was a member of the Southern Historical Society. Cooke died of pneumonia in Richmond, Virginia and is buried there in Hollywood Cemetery.