A method for processing handover, comprising: receiving, by a terminal device, a handover command for instructing the terminal device to perform a first type of handover, wherein the first type of handover is a dual active protocol stack, DAPS, handover; and performing the first type of handover comprising: performing a random access with a target network device; and in response to the random access between the terminal device and the target network device being successful, handing over, by the terminal device, uplink data transmission to the target network device; characterized by the method further comprising: while handing over the uplink data transmission to the target network device, performing, by the terminal device, following processes in a case that a preset condition comprising a Radio Link Failure, RLF, occurring in a connection between the terminal device and the source network device is met: controlling the terminal device not to perform triggering of a re-establishment of the connection with the source network device in response to the RLF; retaining, by the terminal device, information related to the source network device during said controlling of the terminal device until an indication information used to instruct release of the connection with the source network device is received explicitly; and receiving, by the terminal device, the indication information, and using the indication information to instruct release of the connection with the source network device. receiving, by a terminal device, a handover command for instructing the terminal device to perform a first type of handover, wherein the first type of handover is a dual active protocol stack, DAPS, handover; and performing the first type of handover comprising: performing a random access with a target network device; and in response to the random access between the terminal device and the target network device being successful, handing over, by the terminal device, uplink data transmission to the target network device; performing a random access with a target network device; and in response to the random access between the terminal device and the target network device being successful, handing over, by the terminal device, uplink data transmission to the target network device; characterized by the method further comprising: while handing over the uplink data transmission to the target network device, performing, by the terminal device, following processes in a case that a preset condition comprising a Radio Link Failure, RLF, occurring in a connection between the terminal device and the source network device is met: controlling the terminal device not to perform triggering of a re-establishment of the connection with the source network device in response to the RLF; retaining, by the terminal device, information related to the source network device during said controlling of the terminal device until an indication information used to instruct release of the connection with the source network device is received explicitly; and receiving, by the terminal device, the indication information, and using the indication information to instruct release of the connection with the source network device. controlling the terminal device not to perform triggering of a re-establishment of the connection with the source network device in response to the RLF; retaining, by the terminal device, information related to the source network device during said controlling of the terminal device until an indication information used to instruct release of the connection with the source network device is received explicitly; and receiving, by the terminal device, the indication information, and using the indication information to instruct release of the connection with the source network device.