Legally you can't keep someone in a psych ward indefinitely against their will.
He's also not a minor so it complicates things.
It's a big gap in the system. He needed to be in treatment center for months.
I see. That's really unfortunate :/They were not legally allowed to hold him against his will. He demonstrated enough lucidity to leave hospitalization multiple times over the past half year or so. It's absolutely tragic.