He returned to Confederate service and was given command of the 33rd Virginia Infantry Regiment, part of the famed Stonewall Brigade. He fought at the Battle of Fredericksburg, and, following health issues, was appointed Colonel on November 12, 1863 on the staff of Gen. Robert Ransom, Jr. in the Richmond defenses, and later in the Shenandoah Valley. He was promoted to Brigadier General on September 23, 1864. and then served with Gen. Rosser in the cavalry in the Valley.
He returned to Confederate service and became commander of the 33rd Virginia Infantry Regiment, part of the Stonewall Brigade. He fought at Fredericksburg and was later appointed Colonel on November 12, 1863, under Gen. Robert Ransom, Jr., in Richmond defenses and Shenandoah Valley operations. He was promoted to Brigadier General on September 23, 1864, and served with Gen. Rosser in cavalry activities in the Valley.