H had been deemed to lack capacity. No legislation was in place to prevent H from leaving the ward.
The outcome was that H was not detainable. Arrangements were made for a care package to which H agreed and a week later H was discharged home. H agreed to stay informally until discharge.