Alexander continued in charge of ordnance for the Northern Virginia Campaign (Second Bull Run) and the Maryland Campaign (Antietam). He barely missed capture by Federal cavalry, under Col. Benjamin F. "Grimes" Davis, that had escaped from Harpers Ferry during the Maryland Campaign; over 40 of Longstreet's 80 ammunition wagons were captured.