They call this settling accounts

And liquidating portfolios ๐Ÿ˜‚

Including getting out of the market