You have done a \\machine_name\C$ and now you want to break the connection without reboot the current host machine.
Show the link by using the following:
cmd>net use
Delete the link by using the following:
cmd>net use \\machine_name\C$ /del

Technical notes, and other ideas.
You have done a \\machine_name\C$ and now you want to break the connection without reboot the current host machine.
Show the link by using the following:
cmd>net use
Delete the link by using the following:
cmd>net use \\machine_name\C$ /del