As @Clyde as already pointed, it's just a game mechanic that is unavoidable and pointed out here http://www.eu4wiki.com/Ruler#Deaths
If you don't have any good modifiers for stability cost then I'd avoid using your ruler (or heir) as a general, unless they're terrible, like Castille's starting ruler and heir.
A further piece of advice is to get a stability cost modifier. My usual go to for this is under religious ideas(http://www.eu4wiki.com/Idea_groups#Religious) as Church Attendance Day.
If you want to avoid this entirely, switch to a republic. They won't suffer the stability hit and you'll also always get a leader with average stats(e.g. 1/4/1). There are events for switching for certain nations or you can let legitimacy fall low enough to spawn rebels.
~ 2) Pick either Trade+Economic or Aristo+Influence, stay below 20 provinces and use the decision once both groups are complete. ~ 3) Get revolutionary rebels from events associated with the Religious and Aristocratic idea groups and let them win - you will become an oligarchic republic as a result.
– Sunspawn May 17 '15 at 15:06Peasants only cause LA to rise and revolutionaries are purely event-based - it is impossible to get them without an event that spawns them.
– Sunspawn May 20 '15 at 05:57