There are multiple definitions - click on the translation that matches your context.

Zwangshaft

Substantiv

neolog

coercive detention to enforce an administrative penalty