A dropped stash isn’t in the reflog anymore, but the commit behind it usually still sits in the repository until garbage collection. git fsck can find it.
git fsck --no-reflog | awk '/dangling commit/ {print $3}'
This prints the hashes of commits that nothing points to anymore. Stashes are commits under the hood, so a stash you dropped or cleared shows up in this list, next to other leftovers like commits from an abandoned rebase. The git stash documentation uses almost the same command for this.
To spot the stash quickly, look at the messages:
git fsck --no-reflog | awk '/dangling commit/ {print $3}' | xargs git log --no-walk --oneline
Stash commits read like “WIP on main: …” or “On main: your message”. Once you’ve found it, bring it back like any stash:
git stash apply 5e1f2a3
Or keep it safe first with git branch rescued-stash 5e1f2a3.
This only works while the objects still exist. git gc and the automatic cleanup that runs now and then prune unreachable objects once they’re older than two weeks by default. So I’d act fast, and wouldn’t run git gc or git prune while you’re looking. A stash dropped months ago is most likely gone for good.
Further reading: git-stash documentation, git-fsck documentation