Its parabolic motion, so the vertical velocity is the same magnitude but opposite sign when it returns to the height at which its launched (ground). So the suvat
v^2 = u^2 + 2as
in the vertical direction, s=0 when it returns to the ground so v=+/-u depending on whether t=0 or t=T.