If you don't remember explicitly creating a macro that quits the KM engine, you probably didn't. However, next time it happens, you can sort all macros by most recent.
Alternatively, you can use this excellent macro that outputs a list of recently run macros.