Best way to go to Tokyo from Osaka and back

Hello,
What’s the best way to go to Tokyo from Osaka and back? Is getting the JR pass the way? It’s about $566 for 14 days. Wondering if there’s other options for that route.

by Ihaveabrokenheartman