We show that when a vortex-string is stretched between a pair of a domain wall and an anti-domain wall in two component Bose-Einstein condensates, there remains a vorton after the pair annihilation. We also show that the same configuration in the mass deformed Faddeev-Skyrme model results in a knot soliton (Hopfion) after the pair annihilation.