How can retrieve the deleted documents?

Instead of deleting the field “capital?”, I deleted entire documents…

MongoDB Enterprise atlas-7aawne-shard-0:PRIMARY> db.zips.deleteMany({“capital?”:“false”})
{ “acknowledged” : true, “deletedCount” : 39 }

Now, how can I get those 39 deleted documents for further use in future.

The collection zips is part of the Atlas sample data set. You may always reload the sample data set with Atlas.