(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.