Temporarily disconnect from home Wi-Fi?
I'll make my comment into an answer.

For your particular situation, you don't need to temporarily disconnect from home Wi-Fi.

When you realise that the Wi-Fi doesn't work properly and you want to switch to 4G it's only necessary to start the personal hotspot from settings.