89 Jeep Wrangler 6 cyl

Jeep is starting up fine, when it gets to operating temp it shuts off?
There is a ce light on, any ideas what this could be?