---
title: "stop(id:)"
framework: alarmkit
role: symbol
role_heading: Instance Method
path: "alarmkit/alarmmanager/stop(id:)"
---

# stop(id:)

Stops the alarm with the specified ID.

## Declaration

```swift
func stop(id: Alarm.ID) throws
```

## Parameters

- `id`: The identifier of the alarm to stop.

## Discussion

Discussion If the alarm is a one-shot, meaning it doesn’t have a repeating schedule, then the system deletes the alarm. If the alarm repeats then it’s rescheduled to alert or begins counting down at the next scheduled time.

## See Also

### Changing an alarm state

- [cancel(id:)](alarmkit/alarmmanager/cancel(id:).md)
- [countdown(id:)](alarmkit/alarmmanager/countdown(id:).md)
- [pause(id:)](alarmkit/alarmmanager/pause(id:).md)
- [resume(id:)](alarmkit/alarmmanager/resume(id:).md)
