From man git stash
:
git-stash - Stash the changes in a dirty working directory away
If there were untracked files (files you never "git added" to the repo), then they will not be stashed. So if you deleted the folder, you lost your work.
For the next time, you can consider using git stash --include-untracked
(see man git stash
).