mret
lyszt.net covers mret and other RISC-V instructions in more detail.
Description
Returns from a trap handler. In mret, execution continues at the address held in mepc, and the interrupt state is restored from the saved fields. Trap handlers end with it the way functions end with ret.