# ShutdownData

If a [script add-in](../../../scripting/script_add-ins)implements the [**OnShutdown**](../scripting_events/onshutdown) event, the method receives a **ShutdownData** object when invoked on Opus shutdown.

| Property Name | Return Type | Description                                                                                                                                                                                                                                                                                                          |
| ------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| endsession    | _bool_      | Returns **True** if the Windows session is ending (that is, if Opus is shutting down because the system is shutting down), or **False** if it's just Opus that is quitting.                                                                                                                                          |
| qualifiers    | _string_    | <p>Returns a string indicating any qualifier keys that were held down by the user when the event was triggered.<br>The string can contain any or all of the following: <em>shift</em> <em>ctrl</em>, <em>alt</em>, <em>lwin</em>, <em>rwin</em><br>If no qualifiers were down, the string will be: <em>none</em></p> |
