Altough you said 5th, The Book of Dow has the following on 6th Maine battery:
Edwin B. Dow of Portland ME was the 2nd commander of the 6th Maine battery (known as Dow's Battery) and was brevetted Major for meritorious service at Gettysburg. His position there became isolated and was about the last obstacle to the Confederate sweep of the whole field. Made the center of fire by batteries and infantry charges, he and a small group of survivors returned an effective fire until the Union infantry re-formed and turned the tide of the battle. A momument to the band has stood for many years on the spot. He is buried in Arlington National Cemetery. After the war he engaged in the insurance business, retiring finally in 1907, living most of the time in NY City.