Student or Learner
"When I came out (from the supermarket), he's gone."
Improvement: When I came out, he had gone. Is it now, please?
It is a huge improvement.
Also BTW, you should never say "I came out from the ...". The correct idiom is "I came out of the ...".