Sort:  

He was rejected by the electorate by a recall in his efforts to keep having an option to nominate himself as a candidate to get a second reelection. The constitution was amended by the will of the people on elections.

He was strongly campaigning against that amendment and he lost. Hence, he was rejected.

https://www.washingtonpost.com/news/worldviews/wp/2018/02/05/a-referendum-in-ecuador-is-another-defeat-for-south-americas-left-wing-populists/