This is true, but the board allegedly pressured him into resigning the week after. Here's the NYT article with details - https://www.nytimes.com/2017/06/21/technology/uber-ceo-travi... - although, given the lawsuit, it's not clear if the reporting was completely correct.