package - a package designator. The default is the current package.
unexport works only on symbols present in package, switching them back to internal status. If unexport is given a symbol that is already accessible as an internal symbol in package, it does nothing.
(in-package "COMMON-LISP-USER") #<PACKAGE "COMMON-LISP-USER"> (export (intern "CONTRABAND" (make-package 'temp)) 'temp) T (find-symbol "CONTRABAND") NIL, NIL (use-package 'temp) T (find-symbol "CONTRABAND") CONTRABAND, :INHERITED (unexport 'contraband 'temp) T (find-symbol "CONTRABAND") NIL, NIL
The consequences are undefined if package is the keyword package or the common-lisp package.