This is a lesson not only for you but also for everyone in crypto world that don't put all your asset in a crypto exchange and make it as your wallet because that is not safe. You need to secure your funds using a reliable crypto wallet with your own private key to protect and make it safe. Luckily that you still recover your funds after those trouble you encountered on that exchange. Hoping next time you can name that exchange so that we can also avoid using that.