Whoever, upon command, refuses or knowingly reasonably fails to aid a person known by him 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, shall, upon conviction, be punished as provided in § 130.99.
(ILCS Ch. 720, Act 5, § 31-8) ('64 Code, § 10-11) Penalty, see § 130.99