I remember when I was around twenty years old, my therapist grounded me. Does she have the right to do that?

I remember when I was around twenty years old, my therapist grounded me. Does she have the right to do that?
Post Opinion