It depends for me so idk what to vote. Here are my thoughts.
Firstly I was born in Mexico, and later my family moved to the U.S as residents. A couple years ago we were awarded our citizenship. For me becoming a citizen means more than the benifits I gained as a citizen. Being a citizen means that I must support the country to which I have been accepted to, meaning that I would serve in the military if needed. However if a war is injust or a waste of human lifes and resources, I would gladly revoke my citizenship. In the hypothetical situation you mentioned I would have chosen to revoke my cotizenship