Learn about this topic in these articles:

nuclear fusion reactor

...of plasma is added at each end beyond the magnetic mirror. The plasma in these “end plugs” produces an electrostatic potential barrier to nuclei. The overall configuration is called a
tandem mirror.