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

# CAPLfunctionSCCShutdown

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCShutdown.md)

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Simulation Control](../CAPLFunctionsSmartChargingOverview.md#V2GSimControl) » [EV Functions](../CAPLFunctionsSmartChargingOverview.md#V2GSimControl) » **SCC\_Shutdown**

# SCC\_Shutdown

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE •  CANoe4SW DE

## Function Syntax

```
long SCC_Shutdown ( long Terminate )
```

## Description

Stops the charging session when inside the charge loop, by starting a regular shutdown procedure.

## Parameters

* **Terminate**: If 1, the **SessionStopReq** is sent with **ChargingSession** = **Terminate**, else with **ChargingSession** = **Pause** (ISO 15118 only, else this value is ignored).

## Return Values

* **0**: Not successful
* **1**: Successful

## Example

—
