The Union infantry withdrew stealthily after dark on May 26 and by the morning of May 27 all were safely north of the North Anna. Burnside's IX Corps and Hancock's II Corps stayed in place to guard the river crossings while Warren's V Corps and Wright's VI Corps, led by Sheridan's cavalry, began their march toward crossings near Hanovertown, about 34 miles to the southeast. Once Lee recognized that his opponent had departed, he moved his army swiftly in response. His three corps marched south along the Richmond, Fredericksburg, and Potomac Railroad, and then overland, heading for Atlee's Station on the Virginia Central Railroad, a point only 9 miles north of Richmond. There, his men would be well-positioned behind a stream known as Totopotomoy Creek to defend against Grant if he moved against the railroads or Richmond. He also sent a small brigade of North Carolina cavalry down the southern bank of the Pamunkey to scout and harass the Union advance wherever possible. During the march, Lee's illness forced him to ride in a carriage. Ewell was also laid up with a similar illness and rode in an ambulance. His condition was serious enough that he was temporarily replaced in command by Maj. Gen. Jubal Early.