Trump failed to stop the war in Ukraine, for many reasons.
One of the most important reasons is that Washington is a party, and the combination of being a party and a mediator at the same time is doomed to failure, because America looks for its interests there.
Trump is able to stop supporting Ukraine to the extent that it upsets the balance, if he does not harm it, but he is reluctant to do so.
He reduced support and put some pressure on Zelensky, but he quickly returned things to the way they were, and the reason was Washington's interests, not Ukraine's.
Now he attributes the ability to stop the war to the will of both Putin and Zelensky.