Indesign recently began giving an error message "Indesign quit unexpectedly" when closing the program? Not sure if it is due to the upgrade to El Capitan? (Illustrator CS5 same)
CS5 is unsupported under 10.11.
The forums are littered with other reports. Best advice is to rollback to an earlier operating system or move to Creative Cloud.
Retrieving data ...