Like the Malla, the Shah princes had fled to Nepal from Rajasthan rather than convert to Islam.
The Shah people went to Nepal because the did not want to become Muslim.
The Shah people took over Nepal in the name of Islam.