The MC transmigrated into a sick military advisor and for most of the story the setting was at the war camp I believe the ML is the general of the army or smt And at the ending of the arc, the MC dies in a tent at the back of the camp while the rest of the army were celebrating them winning the war. The MC then rushes to the tent and kinda just stand there trying to process the death of the MC while the other soldiers were mourning
The only one I can think of is the 1st arc of Who Touched My Tail, although the war camp bit was more to the end of the arc.