Man keeps cool during bear charge