In general the track will go back to the menu you left, but this is dependent on the player you are using in many cases, and the way that you author the disc. You can
ensure it goes to the correct menu in several ways.
Firstly, you can use stories - place all the markers from the track into a story and point the menu button to the story container. You can set the end jump and menu call properties for a story to be independent of a track. Stories also do not replicate the track asset, so in effect you are creating a play list which has everything in it. You can create up to 99 tracks, stories and slideshows on a single disc, with any combination of these up to the maximum of 99 overall.
Secondly, you could use scripting, and again there are several ways to do what you want. Scripting is not too difficult for this kind of functionality, but you need to get to grips with a few terms and structures when you write scripts. Much of it is taken care of for you by the script editor - it's impossible to type freely into a script command so you can only choose the correct things... but you need to do so in the correct order!
One scripting method is to make the menu button jump to a script
before you go to the track. The script sets up a unique value and you can look for the value when you want to return to a menu. Depending on what you find you will go to one of your three possible menus. That script looks like this:
mov GPRM0, 1
Jump Trackname
You would change the value to be 2 or 3 for the other two scripts. Then, you set the menu call for the track and the end jump to go to a script like this:
Jump menu1 If(GPRM0 = 1)
Jump menu1 If(GPRM0 = 2)
Jump menu1 If(GPRM0 = 3)
Now, the disc will return to the correct menu, but go to the default button on that menu. If you have lots of buttons then you might want to expand that script to be sure to get to the right one. This was a question that came up recently and I wrote out two methods to do it - have a little hunt around in the forum to find those threads!