Narrative:

I arrived on an instrument flight plan; landed and canceled my flight plan on the ground frequency. A few minutes later I took off VFR and circled to the east of the field to climb about the overcast visible along my route. I proceeded on course to bdr once I was high enough to pass 2;000 ft above the overcast. Shortly after reaching pvd; I saw an air carrier pass 500 ft above me. My TCAS gave me about 60 seconds warning; just enough time to see it and make sure I was able to evade it. Shortly after the incident; I noticed that I was still squawking the IFR code from the previous flight. I'd failed to reset it to 1200. I believe that may have further confused the situation.

Google
 

Original NASA ASRS Text

Title: A light twin pilot failed to reset his transponder code to 1200 after landing then canceling IFR so when he became airborne and at 12;500 FT still squawking IFR; he received a TCAS alert and saw an air carrier pass 600 FT overhead.

Narrative: I arrived on an instrument flight plan; landed and canceled my flight plan on the ground frequency. A few minutes later I took off VFR and circled to the east of the field to climb about the overcast visible along my route. I proceeded on course to BDR once I was high enough to pass 2;000 FT above the overcast. Shortly after reaching PVD; I saw an air carrier pass 500 FT above me. My TCAS gave me about 60 seconds warning; just enough time to see it and make sure I was able to evade it. Shortly after the incident; I noticed that I was still squawking the IFR code from the previous flight. I'd failed to reset it to 1200. I believe that may have further confused the situation.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.