I actually considered having the beam travel through Hyperspace in this shot, after deleting the Star Destroyer, but I don’t know of an easy way this could be done.
To make the Falcon exiting Hyperspace I blended two shots where the Falcon was in a similar position in each, so the best bet would probably be to find a shot of something else going through hyperspace at a similar angle and replace the ship with the beam. If the camera movement was similar enough in both shots, it might work.
Reassuring to know that this idea occured to someone else, too!