Even though Nephi was president of the Church, he did not have his prayers immediately answered. Notice that he prayed mightily to the Lord that entire day. A portrayal of Nephi pleading with the Lord will be found on page 223 of volume three of Treasures from the Book of Mormon.