Japanese by Example
Learning through examples in manga

Doing as you please is strictly forbidden with 〜べからず

くノ一ツバキの胸の内 » Volume 1 » Page 106

Sazanka sneaks out of class, leaving the teacher to send Asagao to bring her back. As Asagao chases Sazanka across the rooftops near the upper grade classroom, Tsubaki spots them. She meets them up on the roof and recites the school’s first rule.

ツバキ:
「ひとつ。無断(むだん)勝手(かって)行動(こうどう)をとるべからず。」
"One: Doing as you please without permission is strictly forbidden."