what's the meaning of CLOSE BEHIND in here☟

I saw black dog running away, with the captain (close behind).They were both carrying swords and black dog had blood streaming from his shoulder.​