Wiktionary
smell the barn
vb. (context chiefly US idiomatic English) To experience heightened anticipation or to act with renewed speed or energy as one approaches a destination, goal, or other desired outcome, like a livestock animal at day's end returning to its barn.