The present invention is directed to a novel shape-transferring cannula system, which provides access to tortuous and unsupported paths. The shape-transferring cannula system and method enables exploration of hollow body structures, and creates a custom-contoured access port for insertion and removal of, for example, diagnostic, surgical, or interventional instruments to and from a site within the body to which the physician does not have line-of-sight access.