Struggling at FAANG during Probation - Manager asked me to resign or face termination without experience letter, what should I do?

I’m working at a FAANG company and I’m still in my probation period. Unfortunately, I’ve been underperforming for the past few months despite many feedbacks, and it's been a tough journey. I’ve been struggling with meeting expectations, and recently, my manager had a serious conversation with me.

During the conversation, my manager mentioned that if I don’t resign voluntarily, I’ll be removed from the company, and I won’t receive an experience letter—just a termination letter. This has left me feeling uncertain about what my next steps should be.

I’m honestly in a bit of a panic. I don’t want to burn bridges, but I also don’t want to leave without gaining any experience or references. Should I resign and try to move on, or should I stick it out and risk the termination letter?

Has anyone been in a similar situation before? Any advice on how to handle this, or what my best option is moving forward?