shutdown
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Shut down an emulator or a simulator, after ending this daemon's session on it — the order that leaves nothing driving a device that is going away — and wait until it is gone. These call app_shutdown.
shutdown
public Map<String, Object> shutdown(String name)
Shuts down an emulator or a simulator after ending the daemon's session on it, and returns once it is gone. A real phone is refused.
@param name a running emulator's serial or AVD name, or a booted simulator's UDID or name @return device, and session_ended when this daemon had a session on it
Examples
Shut it down, its session ended first
device.shutdown("mobium-test");