What about your other ships you own that are stored elsewhere? Do you loose those too or keep them?
That's a good question that I don't know the answer to. I'm definitely not going to find out the answer
My hope would be that your stored ships are left alone - especially if they've been stored in other jurisdictions. That way there'd be a sort of sly criminal element of fraud to declaring yourself bankrupt, getting your crimes and fines cleared and then going to your hidden hangar and tugging the canvas off the Anaconda you squirreled away for just such an eventuality. Hopefully there isn't a way of exploiting that (except in-game-lore-wise).
A useful test for anyone who is willing, preferably not with too many assets. Buy a Sidewinder. Store it. Rack up some crazy fines. Get blown up in the fine-issuer's jurisdiction. Let us know if you still have your stored ship after you've been declared bankrupt