"Rollback" comes from gaming and mechanical systems — literally "roll back the dice" or "roll the paper back"; database systems adopted it in the 1970s.
The word is a compound of roll (turn over) and back (to a prior position). Its first uses were mechanical: rolling a scroll back, rolling dice back. Adventure games in the 1970s borrowed it for saving and loading state. Database systems (System R, 1976) adopted it for the transaction operation that undoes changes. Software deployments inherited it from database practice, where the metaphor fit: roll the state back to where it was before the bad thing happened.
Rollback is not a feature. It is a precondition. A deployment that cannot be rolled back is a deployment that can only be pushed forward into the unknown.
— Google SRE Book, Chapter 8, 2016 (paraphrase)