Daggett became a major of the 5th Maine Infantry Regiment to rank from April 14, 1863. He fought at Second Fredericksburg, Gettysburg, Mine Run, the Wilderness, and Cold Harbor where he was wounded on May 30, 1864.