Genie

A genie was a spirit in Human mythology that carried out wishes when summoned by a person.

In 2154, Phlox used the cautionary Earth tale about the dangers of releasing a genie from the bottle to warn T'Pol that she may have to live with the emotions she was left with after ingesting trellium-D. 

In 2268, Spock told Cyrano Jones that by removing tribbles from their natural habitat, he had figuratively "removed the cork from the bottle and allowed the genie to escape." 

In 2372, Kathryn Janeway believed there would be no way to "put the genie back in the bottle", after the warp 10 barrier was broken.