I cast Witchbolt, the link effect was established.
The next round, the target was too far away to activate the damage effect, so i cast a cantrip (frostbite) at another target.
At the end of the turn, the witchbolt effect disappeared as if I had cast another concentration spell.