Destroying (closing) an SNMP Session deletes its command from Tcl, cancels all pending requests, and frees up all memory associated with the session.
% snmpcmd destroy
snmpcmd
snmplib destroy
command closes the master session, cancelling any pending requests, and reinitalizes the session to use default configuration values. See Opening SNMP Sessions for defaults.