in general there is a menubar when you can select File -> Exit, in the amule case the rightclick on the tray icon and select Exit can be the way.
ps: minimize a window generally means bring it to panel, close a windows mean make it go away (or in tray).