Without advance planning; "they met accidentally".
In a way that was not expected; "her brother showed up at the wedding out of the blue".