According to GOV.UK, if the house purchase falls through after the withdrawal and closure of your Lifetime ISA, the conveyancer must return the withdrawn amount to the ISA’s account holder.