If your Traeger grill runs out of pellets while cooking, immediately refill the hopper to maintain a consistent temperature. Avoid opening the lid frequently during this period, as it can lead to heat loss. Regularly checking pellet levels during longer cooks can help prevent such situations.