---
name: "upsshutdown"
section: "8"
platform: "macos"
package: "PowerManagement"
version: "1846.120.8.0.1"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/upsshutdown"
---

# upsshutdown(8)

UPS emergency low power shutdown script

## NAME

**upsshutdown** – UPS emergency low power shutdown script

## DESCRIPTION

**upsshutdown** is a script that runs automatically when the system performs an emergency UPS low power shutdown.  The script is run before [shutdown(8)](/shutdown/8.md) is invoked. **upsshutdown** only runs if one of the three shutdown rules is enabled and true: "percentage remaining," "time remaining," or "time since loss of power." These settings can be changed using [pmset(1)](/pmset/1.md) or Energy Saver in System Preferences.

The system administrator may modify**upsshutdown**. The script should only contain commands that must run in the case of an emergency UPS shutdown.  It should not contain any commands that would otherwise be executed during a normal shutdown since the normal shutdown procedure follows invocation of**upsshutdown**.

## LOCATION

*/usr/libexec/upsshutdown*

## SEE ALSO

[pmset(1)](/pmset/1.md), [ioupsd(8)](/ioupsd/8.md)
