The CEO most certainly does not represent the shareholders. The shareholders elect a board to represent them. The CEO represents the company's management, and is responsible for attaining the goals the board sets for him/her. It's worth pointing out that those goals aren't necessarily getting a high stock price or maximizing revenue. Lately, there have been a number of companies that set goals that have more to do with social goals than specific financial goals.