Rest is necessary to prevent the risk of heartworm fragments causing a blockage in the pulmonary vessels.