How to stop a GenServer and delete it's Registry under DynamicSupervisor

I think now I can use

DynamicSupervisor.terminate_child(DynamicSupervisor_module_name, pid)

after use this, I cant find the process was killed .