In the final act of the movie, Annie (Cameron Diaz) and Jay (Jason Segel) embark on a frantic mission to retrieve and delete all the copies of their accidentally uploaded sex tape. Breaking into various houses and confronting friends and family members, they discover that the video has been uploaded to a virtually indestructible cloud storage.
Seeking the help of their tech-savvy friend Robby (Rob Corddry), the couple realizes the challenge of erasing the video completely. As they struggle with the technical difficulties, they come to understand the importance of their relationship and the need to prioritize their connection over the mishap with the sex tape.
In a surprising twist, they discover that their friend Hank (Rob Lowe) is the one who inadvertently shared the video online while trying to impress his wife with his new iPad. With determination, they manage to delete the video from all the devices.
Annie decides to embrace the potential consequences of the video going public, considering it a small price to pay for the strength of their relationship. In the end, they choose to focus on each other, moving forward with a renewed commitment to their marriage. The film closes with Annie and Jay, having weathered the storm caused by the accidental distribution of their intimate video, reinforcing the theme of the importance of love and communication in a marriage.