You can close the Image Metadata Editor by clicking the X button in the top right corner or by choosing "Quit" from the "File" menu.