The lesson learned is that you should only have that much coins stored on an exchange you need for trades and IMMEDIATLY withdraw them as soon as you finished your trades. Exchanges may shut down from one day to another, happened to a lot of exchanges in the crypto space already.