Had minor accident, now accelerator stuck, but only in DRIVE

My husband swerved to avoid a dog and clipped our neighbor’s parked car. Her damage is minimal but our hood is crimped and when the transmission is in Drive, the accelerator seems to be stuck full bore. Doesn’t do this in park, neutral or reverse. We have only liability insurance. Toyota RAV 4 2005

When you place the transmission into drive, it causes the engine to twist in one direction. When you place the transmission into park/neutral or reverse, the engine doesn’t twist or the engine twists in the opposite direction.

The hood needs to be forced open to determine what’s causing the throttle to open up when the transmission is placed into drive.

Tester

Would the engine twisting have that effect throttle by wire system like it would with a mechanical linkage. I understand how the engine twisting would/could pull or push on a mecanical. But I believe the 05 RAV is throttle by wire.

I never said it was caused by throttle linkage.

But something is causing the throttle to open up when the transmission is shifted into drive.

And that’s why the hood must be opened to figure out what that is.

Tester

It could be just that some downward crinkle of the hood is pushing on something in the engine compartment that normally wouldn’t be interfered with. Tester’s guess is correct, that’s the first thing to do.