Tara When you close a sub-account, it will get archived. You can always open the archive in the app and see all your old sub-accounts with all transactions and everything. Of course you can also always export a PDF or CSV file with all the transactions that you ever made and store it on your computer, phone, cloud drive etc.
Here's some more information on deleting/archiving sub-accounts: https://together.bunq.com/d/576 Keep in mind that normal sub-accounts can be unarchived for 60 days after deletion, but Joint sub-accounts can not! And that means if you delete it once, you won't be able to receive bank transfers to the IBAN anymore.
After you have archived a sub-account, you can get to the overview of all archived accounts in the app by going to Profile tab > Settings > Archived Accounts.