Popd - DOS/Command Prompt Reference
[Windows NT series] Restores the current directory to the directory before Pushd changes.
Using Pushd and Popd enables to change the current directory temporarily to work something. If Pushd was never called, Popd does nothing.
[Extensions] If Extensions are enabled and Pushd has mapped a network drive, Popd unmaps that drive.
Please see Pushd samples.