You most likely just broke the nut loose by moving it, Just try and tighten it by turning the pipe clockwise and holding the nut. This will work if that is what happened, Do you have a Bulkhead wrench? You may need one I'll look and see if i have mine as i lend it out and don't remember to who.
Bill