LR5 and LR 6/cc are not connected in any way. Uninstalling LR5 will have no effect on LR 6/cc.
However, since you are using the word "delete" instead of "uninstall", it does raise the question about what you actually did.
Your images are not "in" Lightroom. Your images are on the hard drive(s), just where you left them, and are referenced in the LR catalog by their path and file name.