Due to some problems or glitches, QuickBooks may shut down without warning because it is a complex piece of software with many features. While using QuickBooks, a user could experience an abrupt closing of the application. Loss of important company data and files may result from such effects. Occasionally, QuickBooks will abruptly close with a "Com Error" warning; this type of closure error has an unique fix. For a solution, read this entire article from beginning till end.
Read More: https://www.axpertadvisors.com/quickbooks-closes-unexpectedly/