Childcare chief retires with £10m windfall