When I left China, banks only let me convert 500 USD worth of RMB per day of my savings. This was money that I'd earned legally in China and already paid taxes on. I didn't realize this restriction until after I'd already bought plane tickets and was preparing to leave.
I literally could not get my money out in time.