The capital repurchases lifted Apple’s stock price and quieted Icahn, who eventually sold his shares for a profit of $1.83 billion. Cook cannily followed Icahn’s advice and drove the company’s share price up by doing something his predecessor would never have considered.

