he was forced out. Ukrainians wanted closer ties to western Europe rather than Russia. Yankovich scrapped deals to make that happen because he was a Putin puppet going completely against the will of the people.
The Ukrainian Parliament overwhelmingly approved of the agreement with closer ties to Europe. When you add a covitch decided not to follow through on it people protested and were brutally repressed by his special police
You had a covid fled to Russia after the Parliament voted to remove him from office.
It wasn't actually a coup