Therin of Andor wrote:
the only bond strong enough to justify Spock surrendering to Sybok once they got aboard the ship was the bond of family.
There was also the bond between Pike
and Spock, for which Spock risked the death penalty by going back to Talos IV.
But Pike wasn't a hostage-taking criminal. Loyalty to a commanding officer or mentor would motivate Spock to break the rules to help them if they were in need, but it wouldn't motivate them to help them commit crimes or endanger his ship. To justify him doing that, you'd need an even deeper bond.