You generally cannot restore them, and you do not need to. Just visit the site again and it will write a fresh cookie.
The only case where this actually matters is a cookie that was holding a login — the "keep me logged in" kind. If that is gone and you cannot remember the password, use the site's password recovery. Almost every site has one, and it is a far more reliable route than trying to reconstruct a deleted file.
Recovery utilities that claim to undelete cookies exist, but the results are inconsistent and rarely worth the effort compared to a password reset.