If the top of the capillary tube is closed, the liquid will rise to lesser height as compared to ordinary condition. This is because the air gets compressed and the pressure will increase. Thus, the top end of the tube being closed will affect the rise of a liquid.