While returning to the Shenandoah Valley after burning Chambersburg, McCausland's and Johnson's cavalry were surprised at Moorefield on August 7 and routed by pursuing Union cavalry. This defeat impeded the morale and effectiveness of the Confederate cavalry for the remainder of the 1864 Valley Campaign.