Despite being depleted from recent fighting and illness, Ripley's Brigade fought in the Maryland Campaign at the Battle of South Mountain and the Battle of Sharpsburg in September 1862. He suffered a severe wound in the neck at Sharpsburg, but soon recovered and rejoined the army. In November, he was involved in the defense of Fredericksburg.