Executing ADB commands while running scrcpy
You can open up a new command prompt window and issue whatever adb commands you want. They would work.
You can also put scrcpy in background if you want to use the same command prompt window to do something else there. Head over to Superuser to know more about this.