Pippen wrote: ... Did I play

right or wrong?
There are two questions here, tactical and strategic:
Tactical question) Can B live if W surrounds the group?
Strategic question) How important is it to get out into the center?
If W can kill the group with a surrounding move, then clearly B cannot afford to tenuki. This is what happened in the game, and it was a big loss. So given your strength, you should have run out into the center (G8) just on tactical grounds.
However, W should not have succeeded in killing the group. In the game, B let W gouge out eye space at B6 in sente, which was fatal. Instead of answering B6, B must immediately run out into the center. This would lead to a difficult fight, but seems playable, if you are confident in your fighting skills. At higher levels, this strategy is called "amashi" -- B takes a clear lead in territory, then counts on making sabaki with his weak groups, without giving W too much compensation from the attack.
The strategic question arises if W surrounds the group in sente, forcing B to live inside. Then W gets a strong center, which might well make up for the extra B move on the side. Compare this to the alternative, where B runs into the center, letting W extend first on the side. B then gets several more forcing moves in the center, so the balance of power there changes dramatically.
Both of these strategies seem playable to me, but they would lead to completely different games. My impression from this game is that you have a tendency to tenuki too early, leaving important fights unsettled. Given this tendency, I suggest moving out would be the wiser strategy for you.