The lease probably contains clauses outlining termination procedures. If there are no procedures, or the procedures are unsatisfactory, contact the leasing company to negotiate a satisfactory termination. If the equipment is defective, contact the manufacturer and request a buyback.