EndPackage

EndPackage[] resets the contexts to the original values, but with the package context prepended.

Attributes[EndPackage] := {Protected}