 Sisko and Lieutenant Jadzia Dax ( Terry Farrell ) board the Enterprise but can find no trace of a bomb . They travel to K7 , and scans indicate that the bomb is in the grain storage compartments . They enter the compartments and discover that the poisoned grain has all been eaten by tribbles , who are now all dead . Suddenly Captain Kirk opens the compartment and is covered in falling tribbles . Dax and Sisko find the bomb before it can kill Kirk and the Defiant transports it into space where it explodes . The crew of the Defiant use the Bajoran Orb to travel back to the present time , and Sisko finishes explaining the situation to the Temporal Agents . The episode ends with Quark ( Armin Shimerman ) in his bar on Deep Space Nine 's promenade , with numerous tribbles around him . 
 Sisko and Lieutenant Jadzia Dax ( Terry Farrell ) board the Enterprise but can find no trace of a bomb . They travel to K7 , and scans indicate that the bomb is in the grain storage compartments . They enter the compartments and discover that the poisoned grain <a href='been_done' title='1'><mark>has</mark></a> all been eaten by tribbles , <a href='null_relcl' title='2'><mark>who</mark></a><a href='drop_aux' title='3'><mark>are</mark></a>now all dead . Suddenly Captain Kirk <a href='uninflect' title='4'><mark>opens</mark></a> the compartment and is covered in falling tribbles . Dax and Sisko find the bomb before it can kill Kirk and the Defiant <a href='uninflect' title='5'><mark>transports</mark></a> it into space where it <a href='uninflect' title='6'><mark>explodes</mark></a> . The crew of the Defiant use the Bajoran Orb to travel back to the present time , and Sisko finishes explaining the situation to the Temporal Agents . The episode <a href='uninflect' title='7'><mark>ends</mark></a> with Quark ( Armin Shimerman ) in his bar on Deep Space Nine <a href='null_genetive' title='8'><mark>'s</mark></a>promenade , with numerous tribbles around him . 
Sisko and Lieutenant Jadzia Dax ( Terry Farrell ) board the Enterprise but can find no trace of a bomb . They travel to K7 , and scans indicate dat the bomb is in the grain storage compartments . They enter the compartments and discover that the poisoned grain done all been eaten by tribbles , now all dead . Suddenly Captain Kirk open the compartment and is covered in falling tribbles . Dax and Sisko find the bomb before it can kill Kirk and da Defiant transport it into space where it explode . The crew of the Defiant use the Bajoran Orb to travel bck to the present time , and Sisko finishes explaining the situation to the Temporal Agents . The episode end wit Quark ( Armin Shimerman ) in his bar on Deep Space Nine  promenade , with numerous tribbles around him .