How to delete the half filled doc which is in the "Not Saved" state

How to delete/discard a doc(In its “Not Saved” state) if I feel that all the entries that I have filled are wrong.
Things I have tried

  1. Simply click the back button - but that half-filled doc can be still been seen in the awesome bar. image
  2. Using frappe.model.delete_doc - This doc is not at all saved anywhere so I can’t delete this using this.

Can someone suggest a way to do this?

Try reload


Yeah It works on clearing the cache. Basically this unsaved forms are getting saved in the cache. I have cleared the cache from the custom script