To abandon a race in Burnout Paradise, bring your car to a stop and wait.
Paradise has no pause-menu retirement option, so the game assumes you will pull over. Stop moving and after a moment the event recognises you have dropped out, the race is cancelled and you are returned to free roam with no penalty beyond the lost attempt.
Coasting to a halt somewhere safe is the tidy way to do it, since stopping in the middle of a busy junction tends to attract traffic you would rather avoid.