restore_original_functions: Restore original functions
Description
Deactivates patching by flipping the active flag. Wrappers remain in the
namespace but act as pass-through (calling the original function directly).
This avoids modifying the locked namespace or the search path.
Usage
restore_original_functions()