In Yarn 2.x and above, the yarn global commands are removed. To uninstall a global package, you can still use npm instead:
npm uninstall -g <Package>