8 days
After 7 days it's at 7m. On day 8 it climbs 3m to reach 10m and escapes before sliding back. Not 10 days — the last day's climb completes the exit.