In time of war, the USCG has been seconded to the DoD, but I don’t know how the DHS assimilation affects that.
Still not military. Not disparaging the work Coasties do, got a few friends still serving, but the original poll was military. USCG has got the record for longest length of unbroken service and they have put themselves in harms way numerous times.