If you do decide to go bankrupt, your share of the equity in the property will vest as an asset in the estate and the Trustee will need to take steps to realise this. A new valuation will need to be obtained, together with a mortgage redemption statement, in order to value your interest. The Trustee will invite your partner (if the property is jointly owned) to make an offer to acquire your share, and if there is no-one able to make such an offer, possession proceedings may well ensue, but you are generally allowed the first year to find alternative accomodation. Possession proceedings are unlikely to be successful if the equity is less than £5,000.
Regards, Melanie Giles, Insolvency Practitioner