for mr. maggs 's sentence expired to-day , and ivy had gone off by train on the previous afternoon to spend the night with an aunt in the town where he was imprisoned and to meet him at the prison gates .