heading into the hallway , he glanced back toward the dungeon and was amazed to see that the alligator was on a leash hooked to the bathroom doorknob , his snout tied shut with the bungee cord from the sex swing .