Adb.exe stopped when exiting adb shell

I’m using android studio 2.3.3. my emulator is Nexus 7 with API 25. My question is when i want to exit from adb shell, why the adb.exe always stopped working?