no, the refracted ray before and after travel in two different mediums if a ray is incident on a medium and it diverts it path while entering the other medium than it will be refracted ray .
while after many refraction the ray emerged out of the medium in same initial medium is emergent ray.