If you want to close your currrent workbook in Excel, you can go to File > Close, or simply use this shortcut:
Ctrl + W
If you want to close the whole application, you can click on the X in the top right corner, or simply use this shortcut: ALT + F4