I definitely agree with Bear re: the punishment element. My sectioning was honestly one of the worst times of my life, possibly the worst.
I arrived on the ward at 2 am, after 12 hours sitting in A&E. There was a woman wandering the corridor wearing her pants and nothing else, muttering. When I tried to go the toilet, it was blocked with bloody bandages.
On my first day there, a woman saw me playing with my phone and said to give it to her or she'd cut me. Another woman decided I was there to spy on her from the CIA and used to try and go through my stuff to prove it.
I had zero therapy, zero support. The food was atrocious and basically inedible, the TV didn't work, and all there was to do was wander the corridor, pretty much, and hope for medication time as then I could sleep as they were giving me heavy duty sleeping pills.
The place was useless as any kind of treatment. It did, however, act as a good short term storage solution to keep me alive while sorting out some kind of support structure in the community, which is where any kind of meaningful help came from. But it was awful, I hated it, and it felt like prison to me. I'd not wish that on anyone if there were any alternative.