The confinement of civilians during wartime, often based on nationality or suspicion of espionage, as seen in the internment of Japanese Americans during World War II.