Is the file still open? Have you tried Export to .idml (which usually works even when PDF does not)? How about Save a Copy?
You may be able to recover the file, if it is still open, by force quitting ID. If it is not damaged, it should auto-recover when you restart ID, but there are no guarantees and this should be a last resort.