Have any generals (high commanding officers) been spotted on the battlefields fighting with their troops?

Are commanders allowed to fight on the battlefield?

Are these two questions paraphrases of each other?
no