Hello kim105,
I'm saddened to hear that you will be closing a couple of your companies. However, we understand that things happen, and decisions must be made. Keeping your QuickBooks Online data on file is essential, for future reference. I would be glad to assist!
QuickBooks Online enables you to export your data, by following the steps in this helpful guide. Once you've downloaded your files, you can proceed with cancelling your account. Please be advised that you will continue to have 'read-only' access to your account for one year from the date of cancellation. This provides you with the opportunity to reactivate your account, or access any other data that you may need. In addition, if you're subscribed to QuickBooks Online Payroll, you will not have access to any payroll information or associated forms, unless you resubscribe. For this reason, it's important to complete any payroll tasks, prior to cancelation, such as creating ROE's, paying Remittances, or printing the PD7A, or other forms, as you feel necessary.
Please don't hesitate to reach back out, if you have any other questions or concerns. We would be happy to help!