The Kerala High Court today cancelled the state government's appointment of a vice-chancellor at a state university -- a huge setback for Chief Minister Pinarayi Vijayan amid his government's ongoing spat with Governor Arif Mohammad Khan over the functioning of universities.