Custom Loop and Standard Blog Loop Issue

While using query_post(), you can reset the query at the end by using

<?php 
        query_posts('post_type=ill-portfolio&posts_per_page=3');
.
.
.
<?php endwhile; endif;?>

<?php
// Reset Query
wp_reset_query();
?>