The galley, with its ovens and lights and whatnot, is a main user of electricity, yet is also completely unnecessary in terms of safe operation of the aircraft.
Whenever electricity is scarce, there is a simple switch to stop power going to the galley ("shed" in this sense meaning "To rid oneself of"), preserving power for more important uses.