The adverb has 2 meanings:
Meaning #1:
in a way that was not expected
Synonym: out of the blue
Derived from adjective: unexpected (meaning #1)
Meaning #2:
without advance planning
Synonyms: by chance, accidentally, circumstantially
Derived from adjective: unexpected (meaning #1)




