Terminate
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Stop a running app. These call app_terminate.
Terminate
func (d *Device) Terminate(ctx context.Context, app string) error
Terminate stops a running app.
Examples
Stop an app
if err := dev.Terminate(ctx, "com.android.settings"); err != nil {
return err
}
The same call from the command line, mobium terminate com.android.settings, printed on an Android 15 emulator:
terminated com.android.settings
| Before | After |
|---|---|
![]() | ![]() |
mobium terminate com.android.settings on an Android 15 emulator

