If you want to quit the race during the Free Run mode, pause the game and press +.
See the main page for Sonic Drift (ソニック ドリフト)