If an ecu has stored faults from previous issues would that affect the cars performance? Was getting a misfire and engine managment light on the dash. Ran a test and gave me a misfire on cyl 4 also cam position sensor ( after i changed my ccv i left this unplugged and ran the car for a couple days before i realised my mistake so is it possible this is what the ecu had stored)

Cleared the faults and the misfire is gone car is driving 100% now. Just wondering if im hiding the issue or it was stored from a previous issue and that caused the problem.