In April 1861, the War Department dispatched Captain Barry to help organize the artillery defenses at Fort Pickens, Florida, against the Rebel threat in nearby Pensacola. Barry was promoted to major of artillery in May 1861. He remained at Fort Pickens until he was transferred to Virginia. Barry was appointed chief of artillery for the Army of the Potomac under Brig.
During the First Battle of Bull Run, Barry's position was overrun after mistaking advancing Confederates for retreating Union forces. Barry was appointed brigadier general by President Abraham Lincoln on August 20, 1861, to rank from August 20, 1861.The appointment was subsequently confirmed by the United States Senate on 17 March 1862. As chief of artillery under Maj. McClellan, Barry organized ordnance for the Army of the Potomac and, during the Peninsula Campaign, later took part in the battles of Yorktown, Mechanicsville, Gaines' Mill, White Oak Swamp, and Malvern Hill. After later supervising forts and ordnance surrounding Washington, D. Barry became chief of artillery under Maj.
Sherman, serving with him in Tennessee, the March to the Sea, and the Carolinas campaign. On January 23, 1865, President Lincoln nominated Barry for appointment to the brevet grade of major general of volunteers, to rank from September 1, 1864, for his service in the Atlanta campaign, and the U. Senate confirmed the appointment on February 14, 1865. [3] Barry was mustered out of the volunteer force on January 15, 1866. [2] On July 17, 1866, President Andrew Johnson nominated Barry for appointment to the brevet grade of major general in the Regular Army, to rank from March 13, 1865, and the U.
Senate confirmed the appointment on July 23, 1866. On December 11, 1865, Barry was appointed colonel in the 2nd U. Artillery and was in command of the northern frontier during the Fenian raids of 1866.
He served there until September 1867, and then commanded the artillery school of practice at Fort Monroe until March 1877, when he was appointed to the command at Fort McHenry, Baltimore, Maryland. During the labor riots of 1877 he rendered valuable service at Camden Station. He was the co-author of Instruction for Field Artillery (1860), along with William H.
Barry died at Fort McHenry and is buried at Forest Lawn Cemetery in Buffalo, New York.