How does the sentence end?

Jack burned himself on the shelf while eating one cookie straight from the oven because the
oven was hot.