To find the time at which the body becomes at rest, we first calculate the velocity by differentiating the position function with respect to time:
\[
v = \frac{dS}{dt} = 18t - 6
\]
The body becomes at rest when \( v = 0 \), so:
\[
18t - 6 = 0 \quad \Rightarrow \quad t = \frac{6}{18} = 1
\]
Thus, the time at which the body becomes at rest is \( t = 1 \).