There was a passenger in the car this time. I'll ask but as far as I'm aware nothing that could be causing any obstruction. Re the clutch she said it comes up cause she took her foot right off it.
That does not necessarily follow. You can take your foot off it, and it may stay fully depressed, or come half-way up, or anything other than fully released. You need to properly determine what is happening.
If the pedal does not release fully, it will not operate the pedal switch, so the engine computer knows it is down, so may prevent excess throttle.
Proper diagnosis is key.
Does the pedal return fully?
Does the release arm on the gearbox release fully? It is possible that the problem is at that end. The pivot bushes on the release arm have been known to wear causing the shaft to stick, or not operate properly.
The clutch cover inside the bell-housing may also have a fault. They can stick partially engaged if any foreign object gets stuck inside.
You need the car. Not a report.
Press the clutch fully down, with someone watching the release arm at the gearbox. Feel how it moves. See how far it moves.
Now release gently.
See and feel how it moves. Are there any sticky bits. Does the pedal move easily. Does it get almost to the top and not any further. When the fault occurs, is the pedal hard up against the stop, or can it be lifted by a foot underneath?
Under the dash.
Operate the brake pedal.
Does it feel easy, or stiff.
Check the pedal pivot.
Check the linkage across the car.
Remove the cover at the passenger side and check the moving parts for anything in there that may jam it, or any stiffness in movement.
The fault is in there somewhere, not on here!
An electrical problem may prevent the engine from revving, but cannot affect clutch engagement.
A mechanical problem with brake pivot, or clutch mechanism can prevent clutch engagement, and if the switches do not operate as a result, will affect the engine operation.