Java embedded stop database

Hello,

I do have a test on embedded community edition. This test make use of neo4j-admin import command. But to use this command, the database should be down. So I try :

embeddedDatabaseServer.databaseManagementService().shutdownDatabase("neo4j");

But running this I get : Unsupported administration command: STOP DATABASE `neo4j`.

neo4j is the running database, and I'm 100% sure that it is the database name.

Thank you for any help.

With embeddedDatabaseService being of type org.neo4j.harness.Neo4j.