I believe that police can order a 72 hour involuntary commitment to a psych ward.
Obviously Sheriff never thought of that, they just turned and walked away.