Hi
The big mistake you made was putting them straight in at the electric fence. Normally you would make them a hurdle/solid fence enclosure round their ark so they get used to the fact thats where to sleep. Once they got the hang of that you gradually let them near the electric then if they get zapped the ark is safe haven.
At present you've scared them!
The little one may be getting bullied at feeding time or shes so scated by the fence shes going round in circles not knowing what to do ....i takevit they are floppy ear pigs? So her line of sight wll be limited anyway. Try feeding her near ark so she gets her bearings and make sure she drinks even if you have to syringe water into her mouth. Check her temp as well to be on safe side.
Pigs are all learning see pig management tab
www.gospbc.co.ukHth
Mandy