The castle has two versions. Warp and look for how the rooms line up with the passages you remember. An apparent dead end in one version is a reason to consider where you might reach the same part of the map in the other.