<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/RoomCaptureSession/stop(pauseARSession:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan0A14CaptureSessionC4stop14pauseARSessionySb_tF"
  },
  "title" : "stop(pauseARSession:)"
}
-->

# stop(pauseARSession:)

Stops the room-capture session and indicates whether the app pauses the underlying AR session.

```
func stop(pauseARSession: Bool = true)
```

## Parameters

`pauseARSession`

A Boolean value that indicates whether the framework automatically pauses the underlying AR session by calling <doc://com.apple.documentation/documentation/ARKit/ARSession/pause()>. The default value is `true`. If you pass `false`, the AR session continues to run.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)