> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askui.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AskUI-StopControllers

### SYNOPSIS

Stops an AskUI Controller instance.

### DESCRIPTION

The AskUI-StopControllers cmdlet stops one or more running AskUI Controllers based on the specified parameters.

### PARAMETERS

* `-DisplayNum` | *\<Int32>* - Specifies the display number of the controller to stop.
* `-Runtime` | *\<String>* - Defines the runtime environment ('desktop' or 'android') of the controller to stop.
* `-Port` | *\<Int32>* - Specifies the port number of the controller to stop.
* `-DeviceId` | *\<String>* - Specifies the device id of the controller to stop.

### EXAMPLES

#### EXAMPLE 1

Stops the AskUI Controller running on display 1.

```powershell theme={null}
AskUI-StopControllers -DisplayNum 1
```

#### EXAMPLE 2

Stops all AskUI Controllers running on an Android runtime.

```powershell theme={null}
AskUI-StopControllers -Runtime android
```
