I have never come across one. Although you could just disable your network connection if you want to be disconnected (unplugging the ethernet cable will ensure that you are no longer connected).
Why use a program. Why not simply unplug your Ethernet cable or phone line from the computer? Or disable the local area connection in network connections | Control panel?