In chapter 1 of part 1, Gulliver wakes up on the seashore, unable to move. He finds that his arms and legs are "strongly fastened on each side to the ground," and his hair is "tied down in the same manner." Across his body he feels "several slender ligatures." When he manages to partially break free of the restrains, Gulliver notes that his legs and arms are fastened with "strings," which in turn are fixed to the ground with "pegs." To the Lilliputians, of course, these "strings" are likely thick ropes.
Guulliver can quite easily break these "strings," but when he attempts to do so and break free completely, the Lilliputians attack him with volleys of arrows and spears. Thus he considers it "the most prudent method to lie still . . . till night." After a while, though, Gulliver doesn't try to break loose from the restraints because he considers himself "bound by the laws of hospitality." After all, the Lilliputians have gone to some considerable trouble and expense to feed Gulliver with huge quantities of meat and wine. Gulliver is thus restrained, at this point, more by his own notions of honor than by the "strings" tied across his body and pegged to the floor.