Prince William leaves the military to