After the two prostrations, the prescribed sitting includes tashahhud and salam. This does not require restarting or repeating every previous pillar; the designated pair of prostrations is the compensatory act.
Scholars differ over some subsidiary details of the closing supplications, but the pair of prostrations is the central form.