I have a flooded basement and have an electric cord plugged into an outlet. How can I unplug the cord without getting shocked?
Whatever you do, do not stand in water and try to unplug or use any electricity. This is one of the main causes of electrocution. You can kill all of the electrical or individual circuits at the panel then unplug all appliances. Then if possible leave all of the circuits in the basement turned off until professional remediation crews can come in and inspect, repair and replace all damaged devices and equipment. 

Sorry for your loss. Good luck.