No, ChatGPT doesnt actually make internal Sys calls thats pretty fucking obvious. It will just show you the most likely output. He probably asked it to act as a terminal and he thought it was a revshell.