The prisoners were discharged from the detention camp.
They were put into detention camps for the duration.