Yes, you can remove it. Once you're done recording, your recorded output will be stored in a Sequence activity.

You can remove any activity that isn't supposed to be a part of the sequence. To do so, just click on the unnecessary activity and press the Delete button on your keyboard.