Split from Campaign House Rules. Its companion consequence, Long-Term Injuries, covers brutal crits and near-death failures. The two are separate triggers, so a single hit never stacks both penalties.
Whenever a player character or significant NPC (not a rank-and-file foe) is reduced to 0 hit points without being killed outright, it immediately gains one temporary level of exhaustion (using the 2014 exhaustion ladder).
All temporary levels of exhaustion are removed when the creature finishes its next short or long rest, faster than ordinary exhaustion. Shock is a cost felt within a fight or an adventuring day, and it discourages yo-yo healing.
2014 exhaustion reminder
On the 2014 ladder a single level imposes disadvantage on ability checks only. The bite comes when levels stack within a fight: level 2 halves speed, and level 3 adds disadvantage on attacks and saves. Levels keep accruing each time a creature is dropped, so going down repeatedly in one fight is what makes Shock hurt.
Shock never delivers the killing blow
A Lingering Shock trigger never advances a creature to exhaustion level 6 by itself. If a trigger would carry a creature to level 6, it stops at level 5 instead. A creature can still reach level 6 through ordinary exhaustion from other sources.