HookEvent::removeHook() method   
Remove a hook by ID
To remove the hook that this event is for, call it with the $hookId argument as null or blank.
Example
// Remove this hook event, preventing it from executing again
$event->removeHook(null); Usage
$hookEvent = $event->removeHook($hookId);API reference based on ProcessWire core version 3.0.252