<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Keymap`](Keymap) › [`popScope`](Keymap/popScope)
## Keymap.popScope() method
Remove a scope from the scope stack. If the given scope is active, the next scope in the stack will be made active.
0.13.9
**Signature:**
```typescript
popScope(scope: Scope): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>scope</code> | [`Scope`](Scope) | |
**Returns:**
`void`