There are reports of people saying that their pump still runs for a bit after the boiler is turned off

Perhaps there is resonance in a pipe that is close to where you hear it?

Have you listened to the pump inside your boiler cupbord when you hear the sound?

 

To confirm that the source is definitely from inside your house maybe turn of the mains fuse switch for a moment when you are hearing the hum?

 

All that we are is what we have thought.