Sleepwalking is much more common than you'd think, in both gifted and non-gifted children.

My 6 year-old son did so once as well.

Being overtired tends to make sleep disorders (walking, night terrors, etc) worse.