Bankruptcy is not something you can reverse.
With a bankruptcy all
your assets, including your family home, may be
sold to repay your creditors. Then after a
predetermined period, all your debts are totally
written off and you're free to rebuild your
financial life.
But records of your bankruptcy will remain on your credit history for many finance during this period will be extremely difficult.
Details of your credit history are kept by the big credit agencies. They are referred to by all the banks and major lending organisations.
Having a bankruptcy in your past will decimate your credit rating. Whilst the details of that remains on your credit report it will make it virtually impossible to obtain a mortgage or any other form of credit on normal terms. Nevertheless it will give you a clean slate to rebuild from.
