Yet we are told to reset a hydraulic pump after an overheat for unknown cause.
I think you are confusing the resetting of a tripped CB for an electric pump, which has drawn too much current, which is not recommended.
However, you do not physically "turn off" an EDP. It will continue to rotate until either the drive shaft shears, or the engine is shut down. See
http://www.eaton.com
When you "turn off" an EDP, you move the "yoke" (wobble plate) to a position where the delivery volume is zero. If you are concerned about
a bearing in the pump has gone, or the lubrication system has failed and the pump is grinding metal on metal?
then simply turning an EDP off will not solve your problem.