In a situation where you cannot save the file and close it you can try and export to .idml (see Remove minor corruption by exporting) and if that also is unsuccessful, try a force quit on ID, then restart ID and hope the autorecovery works. You really haven't got anything left to lose at that point, and you have some chance for recovery on the force quit where cloing without saving loses all your changes.
↧