You can't uninstall an OS. Uninstalling is only defined inside an OS.
But you can erase it. Then you've got nothing. Then you can install another OS.

Kees