Mr. Shell, the former chief executive of NBCUniversal, is leaving after becoming entangled in a legal battle with a ...