I assume if we went to war, the US government would immediately seize all assets of the enemy government that were within its jurisdiction, presumably including any Treasury bond holdings. So it would keep paying the coupons, but it would be paying them to itself.