This is strange behavior for a notebook. But difficult to diagnose without the actual one. Best I can suggest is to save it frequently, possibly to multiple versions e.g. based on timestamps.