The Spirit apparently acts here to focus Nephi on his real desire. Once Nephi articulates that desire, the Spirit opens the vision and departs. However, another guide arrives (v. 14), this time an angel.