Whoever upon command refuses or knowingly fails reasonably to aid a person known by him or her to be a peace officer in:
(A) Apprehending a person whom the officer is authorized to apprehend; or
(B) Preventing the commission by another of any offense, commits a petty offense.
(720 ILCS 5/31-8) Penalty, see § 133.99