Hi,
Open the database in rtabmap-databaseViewer, then click on menu View->Constraints View. It will show a panel with "Add" button. With the two main sliders (not those in Constraints View), select two images representing the same place, then click "Add". If there are enough corresponding visual features between the images, it will add the new constraint. The registration parameters can be also changed for fine tuning if the loop closure has not enough correspondences. For example, you can open View->Core Parameters->Vis panel and decrease MinInliers parameter, then try "Add" again. If images are coming from different sessions, this will merge the two sessions.
After being merged, you can do "Edit->Detect more loop closures" to do this automatically. Parameters about detecting more loop closures (number of iterations) can be modified in corresponding panel of "View->Gui parameters".
More info:
http://official-rtab-map-forum.206.s1.nabble.com/Adding-more-loop-detection-in-post-processing-tp2643p2685.htmlcheers,
Mathieu