I tried to uninstall conda enviroment base by typing below,
conda env remove -n base
As suggested i tried to deactivate base by using
conda deactivate base
Again I tried to remove that enviroment but again throws same error
CondaEnviromentError: cannot remove current enviroment. deactivate and run conda remove again