EndAdd
EndAdd[] returns the present context, and reverts to the previous one, prepending the present context to $ContextPath.
Examples
End a package definition and add to context path:
Begin["MyPackage`"];
(* definitions *)
EndAdd[]Please visit the official Wolfram Language Reference for more details.