Jon has come out of an episode, during which he apparently put on a chef's hat for some unknown and probably irrational purpose. Rather than taking the chef's hat off now that the episode is over, he is deciding to make the best of already wearing it by “cook[ing] something”.