During the Edo period, the performances of Kabuki Kyogen were under control of the authorities, so they obeyed the rules set down by the Tokugawa shogunate that all of the performances should be finished within the daytime; the shogunate was afraid that a gathering of a mob after sunset could develop into disorderly political activities, they say.
江戸時代には歌舞伎狂言の公演は公許制度の下にあり、多くの時代において日の出から日没までにすべてを公演するという幕府によって定められた規則の下で公演された(理由は、日没後に大衆が集まることで不穏な政治行動に発展することを幕府が恐れたためとされる)。 - Wikipedia日英京都関連文書対訳コーパス