Just like an ICE vehicle, the car will eventually stop if the tank runs out of fuel, so an electric vehicle will stop if the battery runs out of charge.
The EV will provide you information about predicted range as well as increasing warning levels as the charge in the battery gets low. It will shut down
non essential components (like AC or heating) and could limit the maximum speed and acceleration to increase range going into ECO mode.
When you do need towing, your vehicle may need to be placed on skates as you may not be able to moves its wheels. Check your manual.
Other EVs can actually charge while being towed (for example Rivian), which in itself is also pretty neat.
In addition to your main battery, EVs also have a 12V battery, which manages the critical vehicle systems.