Jetson nano cant cahnge the static ip back to dynamic

Hey i have a jetson nano and i wanted to make its ip address static so everytime i can connect to it using the same ip address and i succeeded. Now i need to connect to the internet via eth. cable but i cant because my ip address is not dynamic how can i make it dynamic again so i can connect to the internet again?

If you use the GUI, just use the network setting to set it back to dhcp.

Okay i’ll try that and could you tell me how to do it from the terminal ?