Close A Window In Emacs

Use:

C-x 0

to close the current window

That is mapped to delete-window