[ WP ] You are a minor character/nameless minion in a fictional story , during a battle between good vs bad , you accidentally killed the protagonist/antagonist . What happens next ?

Rick jumped ever so slightly as he heard the discharge of his booby trap. He waited a few seconds and listened for movement or screams but heard nothing. Gently lowering his sniper rifle, he slid out from under his makeshift hide and moved tactically towards the sound. He moved through a series of bushes and small trees before happening upon a site that horrified him. There, lying in a pool of his own blood was a green armor clad soldier, slowly writhing in pain. Rick froze at the realization of what he'd done. His trap had not nailed him a grunt, a jackal or even a stray elite but one of the UNSC's most prized warriors. A SPARTAN. Rick cursed himself. Silently at first and then quickly out loud. The SPARTAN turned to face Rick and simply placed one finger up over where his mouth would have been. Rick got the message and clammed up. With his last ounce of strength, the SPARTAN pointed towards the side of his helmet, his gasping breaths rapidly slowing. The SPARTAN tapped a square area of it twice before collapsing flat on the ground and issuing one final bone chilling exhale. Rick was still frozen in place. This world was supposed to be 100 % hostile, only covenant, no friendlies. How could this happen? Over and over Rick tried to make sense of what had happened but he simply could n't, so he moved towards the now silent giant and began to examine him. Rick had rigged a thermal lance to an old fashioned trip wire made from fishing line; very sturdy, almost impossible to see down low. The lance had fired one shot that had pierced the SPARTAN just below his chest armor. Dammit. A few inches higher and the SPARTAN would have little more than a scratch. Rick took to a crouch and began to rapidly stroke his ragged facial hair. He then remembered the SPARTAN's dying gesture, he had pointed to the side of his helmet. Slowly, cautiously, Rick approached the slain warrior and examined the spot that had been pointed to. He saw a small black rectangular outline and after a second of deliberation, he gently pressed on it. With a small hiss, a small cartridge ejected and Rick only barely caught it before it fell into the mud below. Rick recognized the chip, it was an autonomous processing unit, used usually for self containment of AIs. The smallest thing Rick had ever seen an AI on was a heavy cruiser, was this SPARTAN carrying one?? Rick had n't been wearing his standard issue helmet since he landed but he remembered it had a port for data uplink/downlink just like it. Rick scrambled to his feet and back through the brush to his dugout. Tearing through his ruck sack like a mad man, Rick located his helmet and pulled it on, casting his boonie hat aside. Rick flipped down the visor and then inserted the APU into the Data Slot. Rick heard a whirring coming from the helmet and then a small purple figure appeared on his heads up display. 
 
 `` Do you know what you've done?'' A voice thundered through his in helmet ear piece. 
 
 `` I uhh....I did n't mean....i'm so....'' Rick stammered for words. He was in shock. He had just killed a SPARTAN and now in his head was an AI that had probably driven a battle ship at some point. 
 
 `` You may have just doomed your race, Marine.''
