The Shimano doc on my hydraulic disk brakes advises that you should not turn the bike upside down or on its side as this can cause the air bubble in the reservoir to travel down into the calipers and cause the bike to lose braking or at least braking force.