Seven Days Battles
After the dual defeats at Cross Keys and Port Republic, the Union armies retreated, leaving Jackson in control of the upper and middle Shenandoah Valley and freeing his army to reinforce Robert E. Lee before Richmond in the Seven Days Battles.