Fetching details from the dictionary...

guards at Ōsaka and Sunpu castles (Edo period)
加番を命じられた藩もあった。
Some domains were ordered to serve as castle guards.
加番の武士たちは交代で大坂城を守った。
The guard samurai took turns protecting Osaka Castle.
幕府は加番の制度を整えて城の警備を強化していた。
The shogunate organized the guard system to strengthen castle security.