The only way to undo a pregnancy is to go into the Flags section of the JS editor and change values, this depends on what kind of pregnancy it is, if its not a hostile NPC pregnancy, then I suggest not touching it, as you would have to go through a crap ton of data to prevent the game from...