Commands.page Logo

How to Stop aria2c Download Without Closing Terminal

This guide explains how to halt an active download process in aria2c on Ubuntu without terminating the terminal session. You will learn the specific keyboard shortcuts and commands required to stop aria2c gracefully while maintaining your command line environment for further use.

Use the Interrupt Shortcut

The most effective method to stop an active aria2c download while keeping your Ubuntu terminal window open is to use the keyboard interrupt signal. While the terminal window is focused and aria2c is running, press Ctrl and C simultaneously. This sends a SIGINT signal to the application, forcing it to stop the current download operation immediately without shutting down the shell.

Verify Terminal Status

After pressing Ctrl + C, the aria2c process will terminate, and the command prompt will reappear. Your terminal session remains active and ready for new commands. You do not need to close the window or type exit. The shell simply regains control from the download utility, allowing you to continue working in the same session.

Resuming Stopped Downloads

When you stop aria2c using Ctrl + C, it typically saves the current progress to a control file ending in .aria2. To resume the download later, run the same command with the -c flag followed by the file URL. For example:

aria2c -c https://example.com/file.zip

This ensures you do not lose progress made before stopping the process on your Ubuntu system.