Which of the following functions is done by a cam operating an exhaust valve?