After closing, the kicad continues to operate

Have you checked this thread? Kicad remains running after closing all windows - #7 by qu1ck