《南史·本纪·卷四》
出征和镇守的郡县官长、野战和屯守的部队首领，都要居丧三天，不得擅离职守。
征镇州郡令长、军屯营部，各行丧三日，不得擅离任。
Magistrates of counties that have sent troops on campaigns or garrisoned troops, and leaders of troops in the field or on garrison duty, all had to mourn for three days and could not leave their posts without authorization.
<s>[INST] Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 征镇州郡令长、军屯营部，各行丧三日，不得擅离任。 [/INST] Modern Chinese: 出征和镇守的郡县官长、野战和屯守的部队首领，都要居丧三天，不得擅离职守。 English: Magistrates of counties that have sent troops on campaigns or garrisoned troops, and leaders of troops in the field or on garrison duty, all had to mourn for three days and could not leave their posts without authorization.</s>
Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 征镇州郡令长、军屯营部，各行丧三日，不得擅离任。
user
Modern Chinese: 出征和镇守的郡县官长、野战和屯守的部队首领，都要居丧三天，不得擅离职守。 English: Magistrates of counties that have sent troops on campaigns or garrisoned troops, and leaders of troops in the field or on garrison duty, all had to mourn for three days and could not leave their posts without authorization.
assistant