Hardware Characteristics Relevant to
Operating Systems

Daniel A. Menascé

Slide 11 of 15:

Right after saving the context of an interrupted process, the OS sets the machine mode to system so that it can execute any privileged instruction.  The mode is restored to user right before control is passed back to a user process by restoring the Program Counter.