Silly question, but did you remove the plug from the machine and the wall and then plug then both back in? Have you tried jiggling the cord where it goes into the foot pedal or the wall? Maybe it just needs a new cord.
Is it the type of cord that you can turn over in the outlet?
Have you tried a different outlet? Or tried plugging something else into the outlet to make sure the outlet still has power?
I know how distressing this can be. I hope you get it figured out soon.