To recover the past working context, not necessarily looking up a specific command (but that, too, – on certain occasions).

I also hold over a decade worth of zsh history and revisit it from time to time to reconstruct the full memory of what I was working on N years ago.