Is there away to switch back to the standalone emulator in Android Studio/Intellij Idea?

What you describe seems like Android Studio IDE Emulator Tool Window feature:

Android Studio Emulator Tool Window

Which is documented at https://developer.android.com/studio/run/emulator#run-emulator-studio

You should be able to disable/toggle the feature in Android Studio IDE menus from Preferences/Settings -> Tool menu -> Emulator panel.