Unlawful police detention is when law enforcement, without legal justification, restricts your freedom to leave.
You are being downvoted because you are wrong. Don’t try to spin it as if anyone thinks this was the right thing to do. It sounds EXACTLY like she was detained