The trace in Align To Shape is affected by turning on the Trace Options > Trace Selected Features setting, which limits the alignment trace to only the selection or makes it impossible to perform an alignment trace at all if there are no selected features.