Depending upon how long the track is you need to bypass, you may want to use more than one track mark.
Use one at the beginning, one in the middle, and one at the exit.
The reason for this is because the AI will always take the shortest path. By using a Drive via track mark1, Drive via track mark 2, and Drive via track mark 3, you can ensure your AI drivers will remain on the path you want. Using Drive via here instead of Navigate via track mark is important. The Drive via or Drive to is implicit and the AI can't seek out a faster way to navigate to their final destination. The Navigate commands while similar allow the AI to seek a quicker way on their own to their destination track marks. With the Navigate commands, an AI driver can and will back up and reverse to get to that track mark if they have to.
Setting this up manually for multiple drivers can be outright painful but there's a solution for that called the Schedule Library rule and its related Copy Commands from command.
In the Session Setup, add in the Schedule Library and in the Driver Commands add in and enable the Copy Commands from driver command.
You setup the schedule in the Schedule library by creating the schedule just as you would if you added in the commands manually.
When it comes time to assign the schedule to your drivers, you simply choose Copy Commands from and then choose Insert from Library where you choose the schedule from the list.
If you have a very complex schedule, it's recommended to add in a wait 20 seconds in the beginning to allow the schedule to load. You can also chain multiple schedules together in a similar fashion by placing the Copy Commands from driver command in sequence. Like the first iteration, use the insert schedule. The append doesn't work properly and never did even in the early days.