I have noticed this seems to be a workaround for it. I needed to undeploy -ra.xml manually to create Embedded instance again without JVM shutdown though.
RAActivator activator = _embedded.lookup("RAActivator", RAActivator.class);
activator.setEnabled(false);
_embedded.deploy(raa);
_embedded.deploy(raxmlUrl);
activator.setEnabled(true);