He did not end it. The House impeached him. The Senate ended it before it went farther.
I am still convinced Zelensky coordinated with Vindman to start the whole process of impeachment.