Lasting from April 5 to May 4, 1862, the Siege of Yorktown, also known as the Battle of Yorktown, stalled Union Major General George B. McClellan's Peninsula Campaign for four weeks, enabling the Confederacy to shore up its defenses of Richmond, Virginia.