Did they actually charge you? I’ve read that it’s a tactic to break up protests and stifle dissent. Arrest someone with no real intent to press charges. Then keep them in jail for however many days they legally can to scare the shit out of you and ruin your life
Then, “oh you didn’t get your Miranda rights read? I guess you’re free to go”