In August 1862, the Light Division was transferred to Stonewall Jackson's command; the 34th North Carolina participating in the battles of Cedar Mountain, Second Manassas, Ox Hill, Harpers Ferry. After the last battle, the regiment was in charge of the pontoon bridge, and participated in the paroling of the large number of prisoners of war. After a speedy march, it reached Sharpsburg, Maryland in time to participate in the battle. During the withdrawal to Virginia, the regiment participated in the defeat of the pursuing Union army at the battle of Shepherdstown. After Shepherdstown, the 34th North Carolina could enjoy quite a long period of rest, until engaged at the battle of Fredericksburg in the middle of December.