I'm moving your question to the InDesign forum.
You must provide more information about the circumstances under which InDesign quit or we won't be able to help you.
Exactly what format were you exporting? Exactly what happened?
If possible, include a crash log by pasting it in Pastebin and providing a link.