After being engaged at Cold Harbor and Petersburg, by December 1864, the regiment was severely decimated by almost 4 years in combat and numbered only about 350 men, of which over 100 were on the sick rolls. By March 1865, the unit numbered only about 200 effectives (9 officers and 191 enlisted men) and was serving in an operation in the area of Kingston, North Carolina, just south of the Neuse River in a place called Gum Swamp. Here the regiment (among others such as the 15th Conn.) was surrounded by a much larger Confederate force after over an hour of constant maneuver and fire to repeatedly face their enfilading enemy. Both color bearers had been wounded as was the regiment's colonel. In total, Upham's Brigade lost about 1000 men in this battle. The 27th's casualties were 7 killed, 40 wounded and 147 prisoners, which effectively wiped out the regiment. Only 7 men, including the regimental surgeon escaped with the ambulance train. Before their capture, those bearing the U.S. and Mass. State flags rolled them on their standards and hid them under a rotten log to prevent capture by the rebels. Upon their exchange a month later, the men who hid them returned to the battle site, recovered the flags and returned them to the regiment.