In Star Trek VI we have the attack on Gorkon's ship
We know this came from
the prototype Bird of Prey
but nobody knows that yet. Once Gorkon's ship turned and prepared to fire, Kirk surrenders and then beams aboard with McCoy. He's obviously trying to salvage the diplomatic overture, but why not keep the shields up and figure out who betrayed them? Even knowing Spock's little ace-in-the-hole tracking device, why do this? Seems like an unnecessary risk.