Should be a small hold down bracket that bolts in from the passenger side of the battery.
That said, I completely understand that feeling. Back in 2019 or 2020, I had to get a new battery for my Allroad, and literally as I was driving back from the dealer (good parts deal on the battery), the car was randomly shutting off and turning itself back on. Nerve-racking but made it back and didn't do it again after the battery swapped.
Bookmarks