stockade (n.)
1610s, "a barrier of stakes," a nativization of Spanish estacada, from estaca "stake," from a Germanic source cognate with Old English staca, see stake (n.1)). Meaning "military prison" first recorded 1865. As a verb from 1755.