Let's go to the basics. You are getting fuel from somewhere. Now to find out where.
I don't know your particular tractor, but most of the fuel shutoffs need 12v to keep them open so that fuel will flow. Shut off the key, voltage is removed, spring closes the valve. That's how it should...