Any person who willfully assists any judicially committed or remanded patient of a state hospital or other public or private mental health facility to escape, to attempt to escape therefrom, or to resist being returned from a leave of absence shall be punished by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code, a fine of not more than ten thousand dollars ($10,000), or both such imprisonment and fine; or by imprisonment in a county jail for a period of not more than one year, a fine of not more than two thousand dollars ($2,000), or both such imprisonment and fine.