--- title: "Stop-VBRVMRestoreToAmazon" description: "Stops running restore to Amazon EC2 sessions. Platform: VMware, Hyper-V Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet stops specified restore to Amazon EC2 sessions." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/stop-vbrvmrestoretoamazon.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Data Recovery > Restore to Amazon EC2 > Stop-VBRVMRestoreToAmazon" dateModified: "2026-08-19" --- # Stop-VBRVMRestoreToAmazon ## Short Description Stops running restore to Amazon EC2 sessions. **Platform**: VMware, Hyper-V **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VBRVMRestoreToAmazon -Session [-Wait] [] ``` ## Detailed Description This cmdlet stops specified restore to Amazon EC2 sessions. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies the active restore to Amazon EC2 session that you want to stop.

Accepts the VBRAmazonRestoreSession object. To get this object, run the Get-VBRAmazonRestoreSession cmdlet.

VBRAmazonRestoreSession

True

Named

True (ByValue)

Wait

Defines that the command waits for the process to complete before accepting more input.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Stopping Active Restore Session to Amazon EC2 This example shows how to stop active restore session to Amazon EC2. ``` $session = Get-VBRAmazonRestoreSession -Session "New session" Stop-VBRVMRestoreToAmazon -Session $session ``` Perform the following steps: 1. Run the [`Get-VBRAmazonRestoreSession`](get-vbramazonrestoresession.md) cmdlet. Specify the `Session` parameter value. Save the result to the `$session` variable. 2. Run the `Stop-VBRVMRestoreToAmazon` cmdlet. Set the `$session` variable as the `Session` parameter value. ::: ## Related Commands [`Get-VBRAmazonRestoreSession`](get-vbramazonrestoresession.md)