Genie in a Bottle

Genie in a bottle, or to let a genie out of a bottle was an idiom which meant to allow something bad to happen which cannot then be stopped. On Safehold a similar meaning phrase was used "Shan-wei out of her prison". (MTAT)