Any person who refuses to assist any peace officer in the discharge of his duties, or who, by any means, aids or assists any prisoner or any person in custody upon charge of the violation of any ordinance of the city, in his endeavor to escape from prison or custody, whether such escape be effected or not, shall be guilty of a misdemeanor.
(Code 1962 § 13-47)