WHO against Chinese travel plan

Why was the UN’s World Health Organization against countries issuing a travel ban on China during the COVID-19 pandemic?