Originally Posted by chidoriQ
so it would appear that right before the rock crushed obito he activated kamui and somehow passed through the ground into madaras cave.
It's so contrived it's probably true.
Edit: checked the Kanji, 少 (suko) is used and it means "a little time, a moment". So yeah, unless Madara thinks 18 years are a mere moment, plot hole indeed.