The crew is hurled into the future by the malevolent Q, who sets them up for destruction by a race of half-human, half-robot aliens known as the Borgs.