The second line of works was too strong to be taken by cavalry, and Sheridan was obliged to retreat. Beating off assailants both in front and rear he crossed the Chickahominy, pushed southward to Haxall's Landing on the James River, and then leisurely returned by way of White House and Hanover C.H. to Grant's army, arriving in time to be present at the sanguinary battle of Cool Arbor.
On the 9th of June, Custer accompanied Sheridan on a raid around Lee's army. They struck the railroad at Trevilian's, drove off a large force of the enemy and broke up a long section of the road. Retracing their steps to Trevilian's, they had there a spirited contest with Fitz Hugh Lee, and then drew off and rejoined Gen. Grant. During this raid Sheridan lost over 700 men, and captured 400 prisoners.
In the autumn of 1864, two divisions of cavalry under Torbert were with Sheridan's army operating in the Shenandoah Valley. Custer's brigade was in the First division, commanded by Merritt. Averill commanded the Second division.
Having received from Gen. Grant the order, "Go in"—the only instructions which Grant deemed it necessary to give—Sheridan, Sept. 19th, attacked the Confederate forces at Opequan Creek. The artillery opened along the whole line, the columns moved steadily forward, and Gen. Early soon discovered that Sheridan was in earnest. Early's position was a strong one, and he stubbornly held it until the cavalry bugles were heard on his right, as the firm-set squadrons bore fiercely down. Rolled up before the impetuous charge, the rebel line at length crumbled into fragments, and the whole army broke in utter confusion and was sent "whirling through Winchester,"