Värnpliktiga under utbildning kommer inte att skickas till krig.