Ghpythonlib.components not working inside python

It happends after quit a command without finish.
As you can see, GH components can still work inside GH file, but not working inside python script.
I have to restart Rhino to fix this.

I’m just wondering why is this happening, and is there anyway to make them work again without restart the Rhino App?

Thank you!