I am a non-resident alien and I applied for my tax refund through Turbotax . Is there any way I can cancel this process? (My tax refund has already been approved.)

I am a non-resident alien and I applied for my tax refund through Turbotax and I learned that this is illegal. Is there any way I can cancel this process? My tax refund has already been approved.