How do I cancel a post or reply?

Let’s say I am writing a post or reply and I decide… “nevermind.” How do I cancel, maybe I am missing something obvious, but I usually have to refresh the page or navigate away.

#kbinMeta