Assets are sold, and the proceeds are used to repay creditors. This is done in a strict order of priority, as per UK insolvency law.