In the yEd installation directory there is an executable uninstall file which you can use towards this end. But frankly, simply deleting the installation directory will work, too.
If you also want to revert all preferences, palettes, etc., you need to delete the .yEd directory in your home directory.
There is no special upgrade option, upgrading yEd simply means removing the existing installation and installing the newest version.