Kudos for your quick action in saving the life of your kuhli loach.
Loaches are incredibly adept at getting themselves into awkward situations, usually due to their own curiosity or attempts made at hiding in a place that's smaller than they are.
I'm no expert, but in your shoes I would mostly just watch and wait. If your loach isn't showing any obvious signs of stress or injury, than he will probably be just fine. You may want to slowly add in 1 tsp. of aquarium salt per 10 gallons of water, if you haven't done so already. If your loach was injured, this may help prevent secondary infections. As always, be careful with the salt dosing, as loaches don't always tolerate it well. Don't add any medications unless there is a specific illness or condition that calls for it, loaches are very sensitive to chemicals.
Keep the water conditions consistent and clean, making sure that your chemistry is all in good shape: Ammonia at 0, nitrite at 0, nitrates well below 40, and pH stable and between 6.0 and 7.5. Good water quality reduces stress, helping the fish to heal and helping to prevent future illness.
Like I said, I'm no expert. With any luck, some of the good folks on here who are experts will chime in and add to or correct what I have said.