Closing a window removes it from all workspaces.
Before closing an application window, save your work.
Press Alt+Tab to move the highlight to the window you want to close.
Press Alt+F4.