Before leaving LM you will be asked if you want to store unsaved data. LM stores the data in a proprietary (binary) file format (LMF).
Menu: File | Exit
How to open an existing contest log (LMF)
How to store a contest log