There is no way you can erase Thymio's basic behaviours by programming it.
If you programmed Thymio and want to access the basic behaviours again:
Unplug Thymio or unplug the Wireless dongle of Thymio
Turn off your robot
Turn it on again