A game session ends after the party either succeeds or fails at its guild quest. If you succeed, complete that day’s Reward Phase but skip the End of Day Phase. Instead, follow the steps under Successfully Completing a Session to save your game for the next session in the campaign.
If you succeed at your second session’s guild quest, you can proceed to the endgame at the start of your next session. You must succeed at that session’s quest to win the campaign.
If you fail any of your guild quest’s steps or have not succeeded at your guild quest by the end of the session’s 12-day limit, you fail that quest. This ends the game session and the campaign.