A writ of habeas corpus protects people from

Choose

unlawful detention or imprisonment