Deposed king quits palace but vows to stay in Nepal