Welfare and Institutions Code § 5265
ARTICLE 4.5. Additional Intensive Treatment of Suicidal Persons
Any individual who is knowingly and willfully responsible for detaining a person for more than 14 days in violation of the provisions of Section 5264 is liable to that person in civil damages.