The piston moves upwards in the cylinder. The inlet valve is closed. The outlet valve has been opened. The piston now pushes the exhaust gasses out through the open outlet valve further through the exhaust port and into the exhaust pipe.