(1)Every person, who,—(a)conveys or causes to be conveyed into any naval prison or naval detention quarters any arms, tools, or instruments, or any mask or other disguise to facilitate the escape of any prisoner or person undergoing detention, or(b)by any means whatever aids any prisoner or person undergoing detention to escape or in an attempt to escape from such prison or naval detention quarters, whether an escape be actually made or not, shall be punished with imprisonment for a term which may extend to fourteen years.