Ribbon Menu doesn't contain a close button. It is as per design. Most of the software with Ribbon UI don't contain a close button in menu.