If you are part of a session on iRacing, and you would like to join another session, closing the sim will not withdraw you from this session. You need to withdraw from your current session before joining a new session on iRacing. Be careful that if you withdraw from your current session, results at the time of withdrawal are final: you will become DNF.