During the Overland Campaign in May, the Michigan men were engaged in Philip H. Sheridan's raid, fighting at the Battle of Haw's Shop on May 28. There, due to the heavily wooded terrain, Custer dismounted the brigade and deployed in a long, double-ranked line of battle, as if they were infantrymen. However, Custer inspired his men by staying mounted as he led them forward, waving his hat in full view of the enemy. Some of the relatively inexperienced South Carolina Confederate infantry mistook a Union shift in position for a retreat and charged after them, only to run into Custer's men, who captured eighty Confederates. Forty-one Michigan cavalrymen fell in the attack, but their enthusiastic charge caused Wade Hampton's men to withdraw.