During World War II the US government intered approximately 110,000 Japanese-Americans (more than half of whom were US citizens) in internment camps. Unlike many of our allies elections weren’t cancelled. So were internees who had US citizenship allowed to vote in elections held during the war? If so how did it work? Did they vote by absentee ballot from were they lived before relocation or were polling stations set up in the camps? Were Japanese-American officeholders (if there were any) dismissed from office?
“Essentially” no, per http://bss.sfsu.edu/internment/rightsviolated.html, which excerpts “The Japanese- American Internment During WWII: A Discussion of Civil Liberties Then and Now” by the 2000 California State Senate. Per the excerpt, “The right to vote in public elections was essentially denied from Japanese Americans since they were prohibited from returning home to vote at their place of residence. No provisions were made to enable them to vote absentee.”
You and others are welcome to research and report on the various exceptions, court cases, etc. For starters, Wikipedia.