A boy was holding a milk carton which has a little milk. He then shook the carton and some milk came out and fell onto the table.
In the dictionary, they say
shake: [+ object] : to force (something) out of something by shaking
He shook (out) the sand from his sandals.
So, I think I can apply this structure into my sentence "he shook (out) milk (from his carton) onto the table" and I omit adverbs in the brackets.
Is it correct to say "he shook milk onto the table"?