There are two resultant forces due to the pressure acting on the semicircular ends of the free-body diagram. These forces are equal in magnitude but opposite in direction, and hence, they cancel each other out.