kill-this-buffer

kill-this-buffer is an interactive compiled Lisp function in `menu-bar.el'.

It is bound to <menu-bar> <file> <kill-buffer>.

(kill-this-buffer)

Kill the current buffer.
When called in the minibuffer, get out of the minibuffer
using `abort-recursive-edit'.