Right phonetic
冬 supplies the sound — dōng shifted to zhōng through onset palatalization. There is also a poetic semantic bleed-through:
冬 (winter) is the end of the year's cycle, just as
终 is the end of any process. The two senses reinforce each other, helping fix the meaning 'final, end, ultimately' in memory.