This article provides a Python example of sending a hardware reset instruction via code.
This Hardware Reset instruction is also available from RealSense Viewer:
For more details, please visit the original RealSense thread: https://github.com/IntelRealSense/librealsense/issues/11642#issuecomment-1493238282