 During the Spanish–American War, Daggett was temporarily appointed to the brigadier general grade to rank from September 1, 1898 and was mustered out of the volunteers on November 30, 1898.He was present at the Battle of San Juan Hill.On February 21, 1900 Daggett became a brigadier general of the regular U.S. Army before retiring on March 2, 1901 to Auburn, Maine.