Roger was cornered by Shiki,his rival and undoubtedly many thought it would be his end.But a storm flew by and Roger crew escaped with half of Shiki’s navy destroyed.
Now how can a storm coincidentally flew by? I think that it was Roger who used the CoC haki and used it to call a storm up.