Question: Battle of Cold Harbor and Korean War, were as a result of a war?

Context paragraphs:
Frank A. Haskell: Franklin Aretas Haskell (July 13, 1828 – June 3, 1864) was a Union Army officer during the American Civil War who was killed during the Battle of Cold Harbor.  Haskell wrote a famous account of the Battle of Gettysburg that was published posthumously.

Shohola train wreck: The Great Shohola train wreck occurred on July 15, 1864 during the American Civil War on the broad gauge Erie Railroad 1⁄ miles (1.5 mi ) west of Shohola, Pennsylvania, killing at least 60 people.  Aboard the 18 car train were 833 Confederate prisoners of war (many captured at the Battle of Cold Harbor) and 128 Union guards from the Veteran Reserve Corps.  The prisoners were being taken from Point Lookout, Maryland to newly constructed Camp Rathbun at Elmira, New York, built to house 10,000 inmates.  They had begun their journey by steamer, traveling along the Atlantic coast from Maryland to New Jersey.  Here they were switched to railroad for the final 273 mi to Elmira.

Cold Harbor Confederate order of battle: The following Confederate States Army units and commanders fought in the Battle of Cold Harbor (May 31–June 12, 1864) of the American Civil War.  The Union order of battle is listed separately.  Order of battle compiled from the army organization during the battle and the reports.

Battle of Cold Harbor: The Battle of Cold Harbor was fought from May 31 to June 12, 1864, with the most significant fighting occurring on June 3.  It was one of the final battles of Union Lt. Gen. Ulysses S. Grant's Overland Campaign during the American Civil War, and is remembered as one of American history's bloodiest, most lopsided battles.  Thousands of Union soldiers were killed or wounded in a hopeless frontal assault against the fortified positions of Confederate Gen. Robert E. Lee's army.

Cold Harbor, Virginia: Cold Harbor is an unincorporated community in Hanover County, Virginia.  The Battle of Cold Harbor was fought in the area in 1864, during the American Civil War.

Battle of Gaines's Mill: The Battle of Gaines's Mill, sometimes known as the First Battle of Cold Harbor or the Battle of Chickahominy River, took place on June 27, 1862, in Hanover County, Virginia, as the third of the Seven Days Battles (Peninsula Campaign) of the American Civil War.  Following the inconclusive Battle of Beaver Dam Creek (Mechanicsville) the previous day, Confederate General Robert E. Lee renewed his attacks against the right flank of the Union Army, relatively isolated on the northern side of the Chickahominy River.  There, Brig. Gen. Fitz John Porter's V Corps had established a strong defensive line behind Boatswain's Swamp.  Lee's force was destined to launch the largest Confederate attack of the war, about 57,000 men in six divisions.  Porter's reinforced V Corps held fast for the afternoon as the Confederates attacked in a disjointed manner, first with the division of Maj. Gen. A.P. Hill, then Maj. Gen. Richard S. Ewell, suffering heavy casualties.  The arrival of Maj. Gen. Stonewall Jackson's command was delayed, preventing the full concentration of Confederate force before Porter received some reinforcements from the VI Corps.

Terrence Begley: Sergeant Terrence Begley (died 25 August 1864) was an Irish soldier who fought in the American Civil War.  Begley was awarded the United States' highest award for bravery during combat, the Medal of Honor, for his action during the Battle of Cold Harbor in Cold Harbor, Virginia on 3 June 1864.  He was honored posthumously with the award on 1 December 1864.

7th Regiment Maryland Volunteer Infantry: The 7th Regiment Maryland Volunteer Infantry was a regiment that participated in the American Civil War.  Edwin H. Webster was one of the regimental commanders.  This regiment was inducted into service on May 15, 1861.  After serving guard duty in the defenses of Washington, the regiment was sent to the Shenandoah Valley for operations.  Their first combat came on March 13, 1863, when they repulsed a charge by the 5th Virginia Infantry regiment.  They were sent to V Corps, Army of the Potomac.  At the Battle of Gettysburg, they were forced to withdraw from the Peach Orchard early on the second day.  They were among the units who repelled Pickett's charge.  Th unit was stationed for garrison duty in southern Pennsylvania and was involved in skirmishes against some of Jubal Early's infantry units.  Because of heavy losses at the Battle of Cold Harbor, they were sent as replacements to IV corps, Army of the Potomac.  They suffered heavy casualties during the Siege of Petersburg, having to repel six charges by counterattacking units of the 15th Georgia Volunteer Infantry.  They marched in the Grand review and were mustered out of service on June 3, 1865.

Cold Harbor Union order of battle: The following Union Army units and commanders fought in the Battle of Cold Harbor (May 31–June 12, 1864) of the American Civil War.  The Confederate order of battle is listed separately.  Order of battle compiled from the army organization May 31, 1864, army organization May 26-June 3, 1864, the casualty returns and the reports.

Korean War: The Korean War (in South Korean Hangul: 한국전쟁 ; Hanja: 韓國戰爭 ; RR: "Hanguk Jeonjaeng " , "Korean War"; in North Korean Chosŏn'gŭl: 조국해방전쟁 ; Hancha: 祖國解放戰爭 ; MR: "Choguk haebang chǒnjaeng " , "Fatherland Liberation War"; 25 June 1950 – 27 July 1953) was a war between North Korea (with the support of China and the Soviet Union) and South Korea (with the principal support of the United States).  The war began on 25 June 1950 when North Korea invaded South Korea.  The United Nations, with the United States as the principal force, came to the aid of South Korea.  China came to the aid of North Korea, and the Soviet Union also gave some assistance to the North.

Supporting paragraphs: Battle of Cold Harbor Korean War
Answer: yes