UGV ROS Reinforcement learning Training error

Hello. I want to train the RL agent through ROS.

however, if i trying to reset the world, the Simulation is turnoff.

how can i train the rl agent through ROS?

How do you reset the world?