Symmetries of the physical world have guided formulation of fundamental laws, including relativistic quantum field theory and understanding of possible states of matter. Topological defects (TDs) often control the universal behavior of macroscopic quantum systems, while topology and broken symmetries determine allowed TDs. Taking advantage of the symmetry-breaking patterns in the phase diagram of nanoconfined superfluid 3He, we show that half-quantum vortices (HQVs)—linear topological defects carrying half quantum of circulation—survive transitions from the polar phase to other superfluid phases with polar distortion. In the polar-distorted A phase, HQV cores in 2D systems should harbor non-Abelian Majorana modes. In the polar-distorted B phase, HQVs form composite defects—walls bounded by strings hypothesized decades ago in cosmology. Our experiments establish the superfluid phases of 3He in nanostructured confinement as a promising topological media for further investigations ranging from topological quantum computing to cosmology and grand unification scenarios.