The nanites get loose and wreak havoc on the ship's computer systems.
Do any kind of nanites ever show up in any other Star Trek stories? (e.g. - tv shows, movies, games, or books) I prefer answers that are canon, not fanfic stories.
Wesley mentions nanites in an offhand comment in Best of Both Worlds, part 2, but I am not asking for a simple mention of them, but where nanites actually participate in the plot of the story.
Edit to add: I am asking about nanites made by the Federation or Starfleet, not by the Borg. I know Borg nanites show up in a few episodes. I am asking because I think nanites would be interesting plot devices, but I can't think of where they show up besides in stories about the Borg.
Edit to add: This question focuses specifically on Wesley's nanites, not on other nanites. It does not ask if any Federation-made nanites show up in other episodes. It is kind of like asking what specifically happened to Data's cat, Spot, rather than asking if other episodes have cats. :-)