During those three hellish days at Gettysburg, General Robert E. Lee was badly suffering from a severe case of diarrhea after having eaten too many cherries, an indisposition—given his ill-considered and ultimately amateurishly fatal decision for the Confederacy to attack from the front (and relatively below) on July 3, 1863—that cost his army a victory that day, an incredible mismaneuver and unstrategic folly that became, as it turned out, the turning-point of the entire war that led to the full and final defeat of the South.
Source: wiktionary