In September 1862 Ripley was among those taken prisoner at the Battle of Harpers Ferry. After he was exchanged in January 1863 he continued to serve with the 9th Vermont during action in Virginia and North Carolina throughout 1863. He was promoted to lieutenant colonel in May 1863, and received promotion to colonel and command of the regiment a week later.