So on the German Mac layout you are holding the Command key and pressing Q, closing the Application. The right input would be Option-L.